Skip to content

[Backport] Fixed set template syntax issue #15657

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/code/Magento/Backend/Block/Dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Dashboard extends \Magento\Backend\Block\Template
/**
* @var string
*/
protected $_template = 'dashboard/index.phtml';
protected $_template = 'Magento_Backend::dashboard/index.phtml';

/**
* @return void
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Backend/Block/Dashboard/Graph.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class Graph extends \Magento\Backend\Block\Dashboard\AbstractDashboard
/**
* @var string
*/
protected $_template = 'dashboard/graph.phtml';
protected $_template = 'Magento_Backend::dashboard/graph.phtml';

/**
* Adminhtml dashboard data
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Backend/Block/Dashboard/Grid.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Grid extends \Magento\Backend\Block\Widget\Grid\Extended
/**
* @var string
*/
protected $_template = 'dashboard/grid.phtml';
protected $_template = 'Magento_Backend::dashboard/grid.phtml';

/**
* Setting default for every grid on dashboard
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Backend/Block/Dashboard/Sales.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Sales extends \Magento\Backend\Block\Dashboard\Bar
/**
* @var string
*/
protected $_template = 'dashboard/salebar.phtml';
protected $_template = 'Magento_Backend::dashboard/salebar.phtml';

/**
* @var \Magento\Framework\Module\Manager
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Backend/Block/Dashboard/Totals.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Totals extends \Magento\Backend\Block\Dashboard\Bar
/**
* @var string
*/
protected $_template = 'dashboard/totalbar.phtml';
protected $_template = 'Magento_Backend::dashboard/totalbar.phtml';

/**
* @var \Magento\Framework\Module\Manager
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Backend/Block/Page/Copyright.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ class Copyright extends \Magento\Backend\Block\Template
*
* @var string
*/
protected $_template = 'page/copyright.phtml';
protected $_template = 'Magento_Backend::page/copyright.phtml';
}
2 changes: 1 addition & 1 deletion app/code/Magento/Backend/Block/Page/Footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Footer extends \Magento\Backend\Block\Template
/**
* @var string
*/
protected $_template = 'page/footer.phtml';
protected $_template = 'Magento_Backend::page/footer.phtml';

/**
* @var \Magento\Framework\App\ProductMetadataInterface
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Backend/Block/Page/Header.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Header extends \Magento\Backend\Block\Template
/**
* @var string
*/
protected $_template = 'page/header.phtml';
protected $_template = 'Magento_Backend::page/header.phtml';

/**
* Backend data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Fieldset extends \Magento\Backend\Block\Template implements \Magento\Frame
/**
* @var string
*/
protected $_template = 'store/switcher/form/renderer/fieldset.phtml';
protected $_template = 'Magento_Backend::store/switcher/form/renderer/fieldset.phtml';

/**
* Retrieve an element
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Element extends \Magento\Backend\Block\Widget\Form\Renderer\Fieldset\Eleme
/**
* @var string
*/
protected $_template = 'store/switcher/form/renderer/fieldset/element.phtml';
protected $_template = 'Magento_Backend::store/switcher/form/renderer/fieldset/element.phtml';

/**
* Retrieve an element
Expand Down