Skip to content

Commit aa7f8e3

Browse files
author
Stanislav Idolov
authored
ENGCOM-2202: [Backport] Declare module namespace before template path name #16576
2 parents aa6b899 + 383080e commit aa7f8e3

File tree

42 files changed

+42
-42
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+42
-42
lines changed

app/code/Magento/Captcha/Block/Captcha/DefaultCaptcha.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class DefaultCaptcha extends \Magento\Framework\View\Element\Template
1313
/**
1414
* @var string
1515
*/
16-
protected $_template = 'default.phtml';
16+
protected $_template = 'Magento_Captcha::default.phtml';
1717

1818
/**
1919
* @var string

app/code/Magento/Catalog/Block/Adminhtml/Category/AssignProducts.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class AssignProducts extends \Magento\Backend\Block\Template
1313
*
1414
* @var string
1515
*/
16-
protected $_template = 'catalog/category/edit/assign_products.phtml';
16+
protected $_template = 'Magento_Catalog::catalog/category/edit/assign_products.phtml';
1717

1818
/**
1919
* @var \Magento\Catalog\Block\Adminhtml\Category\Tab\Product

app/code/Magento/Catalog/Block/Adminhtml/Category/Tree.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class Tree extends \Magento\Catalog\Block\Adminhtml\Category\AbstractCategory
2929
/**
3030
* @var string
3131
*/
32-
protected $_template = 'catalog/category/tree.phtml';
32+
protected $_template = 'Magento_Catalog::catalog/category/tree.phtml';
3333

3434
/**
3535
* @var \Magento\Backend\Model\Auth\Session

app/code/Magento/Catalog/Block/Adminhtml/Category/Widget/Chooser.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class Chooser extends \Magento\Catalog\Block\Adminhtml\Category\Tree
2424
*
2525
* @var string
2626
*/
27-
protected $_template = 'catalog/category/widget/tree.phtml';
27+
protected $_template = 'Magento_Catalog::catalog/category/widget/tree.phtml';
2828

2929
/**
3030
* @return void

app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Main.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class Main extends \Magento\Backend\Block\Template
2222
/**
2323
* @var string
2424
*/
25-
protected $_template = 'catalog/product/attribute/set/main.phtml';
25+
protected $_template = 'Magento_Catalog::catalog/product/attribute/set/main.phtml';
2626

2727
/**
2828
* Core registry

app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Main/Tree/Group.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ class Group extends \Magento\Backend\Block\Template
1414
/**
1515
* @var string
1616
*/
17-
protected $_template = 'catalog/product/attribute/set/main/tree/group.phtml';
17+
protected $_template = 'Magento_Catalog::catalog/product/attribute/set/main/tree/group.phtml';
1818
}

app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Toolbar/Add.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Add extends \Magento\Backend\Block\Template
1818
/**
1919
* @var string
2020
*/
21-
protected $_template = 'catalog/product/attribute/set/toolbar/add.phtml';
21+
protected $_template = 'Magento_Catalog::catalog/product/attribute/set/toolbar/add.phtml';
2222

2323
/**
2424
* @return AbstractBlock

app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Toolbar/Main.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class Main extends \Magento\Backend\Block\Template
2020
/**
2121
* @var string
2222
*/
23-
protected $_template = 'catalog/product/attribute/set/toolbar/main.phtml';
23+
protected $_template = 'Magento_Catalog::catalog/product/attribute/set/toolbar/main.phtml';
2424

2525
/**
2626
* @return $this

app/code/Magento/Catalog/Block/Adminhtml/Product/Composite/Configure.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class Configure extends \Magento\Backend\Block\Widget
2222
/**
2323
* @var string
2424
*/
25-
protected $_template = 'catalog/product/composite/configure.phtml';
25+
protected $_template = 'Magento_Catalog::catalog/product/composite/configure.phtml';
2626

2727
/**
2828
* Core registry

app/code/Magento/Catalog/Block/Adminhtml/Product/Edit.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Edit extends \Magento\Backend\Block\Widget
1717
/**
1818
* @var string
1919
*/
20-
protected $_template = 'catalog/product/edit.phtml';
20+
protected $_template = 'Magento_Catalog::catalog/product/edit.phtml';
2121

2222
/**
2323
* Core registry

app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Alerts.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Alerts extends \Magento\Backend\Block\Widget\Tab
1818
/**
1919
* @var string
2020
*/
21-
protected $_template = 'catalog/product/tab/alert.phtml';
21+
protected $_template = 'Magento_Catalog::catalog/product/tab/alert.phtml';
2222

2323
/**
2424
* @return $this

app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Inventory.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class Inventory extends \Magento\Backend\Block\Widget
1515
/**
1616
* @var string
1717
*/
18-
protected $_template = 'catalog/product/tab/inventory.phtml';
18+
protected $_template = 'Magento_Catalog::catalog/product/tab/inventory.phtml';
1919

2020
/**
2121
* @var \Magento\Framework\Module\Manager

app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Options extends Widget
1616
/**
1717
* @var string
1818
*/
19-
protected $_template = 'catalog/product/edit/options.phtml';
19+
protected $_template = 'Magento_Catalog::catalog/product/edit/options.phtml';
2020

2121
/**
2222
* @return Widget

app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Option.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class Option extends Widget
3838
/**
3939
* @var string
4040
*/
41-
protected $_template = 'catalog/product/edit/options/option.phtml';
41+
protected $_template = 'Magento_Catalog::catalog/product/edit/options/option.phtml';
4242

4343
/**
4444
* Core registry

app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Type/Date.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ class Date extends \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Options\Typ
1616
/**
1717
* @var string
1818
*/
19-
protected $_template = 'catalog/product/edit/options/type/date.phtml';
19+
protected $_template = 'Magento_Catalog::catalog/product/edit/options/type/date.phtml';
2020
}

app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Type/File.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ class File extends \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Options\Typ
1616
/**
1717
* @var string
1818
*/
19-
protected $_template = 'catalog/product/edit/options/type/file.phtml';
19+
protected $_template = 'Magento_Catalog::catalog/product/edit/options/type/file.phtml';
2020
}

app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Type/Select.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Select extends \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Options\T
1616
/**
1717
* @var string
1818
*/
19-
protected $_template = 'catalog/product/edit/options/type/select.phtml';
19+
protected $_template = 'Magento_Catalog::catalog/product/edit/options/type/select.phtml';
2020

2121
/**
2222
* Class constructor

app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Type/Text.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ class Text extends \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Options\Typ
1616
/**
1717
* @var string
1818
*/
19-
protected $_template = 'catalog/product/edit/options/type/text.phtml';
19+
protected $_template = 'Magento_Catalog::catalog/product/edit/options/type/text.phtml';
2020
}

app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Price/Tier.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class Tier extends Group\AbstractGroup
1313
/**
1414
* @var string
1515
*/
16-
protected $_template = 'catalog/product/edit/price/tier.phtml';
16+
protected $_template = 'Magento_Catalog::catalog/product/edit/price/tier.phtml';
1717

1818
/**
1919
* Retrieve list of initial customer groups

app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Websites.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class Websites extends \Magento\Backend\Block\Store\Switcher
2121
/**
2222
* @var string
2323
*/
24-
protected $_template = 'catalog/product/edit/websites.phtml';
24+
protected $_template = 'Magento_Catalog::catalog/product/edit/websites.phtml';
2525

2626
/**
2727
* Core registry

app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Gallery/Content.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Content extends \Magento\Backend\Block\Widget
2323
/**
2424
* @var string
2525
*/
26-
protected $_template = 'catalog/product/helper/gallery.phtml';
26+
protected $_template = 'Magento_Catalog::catalog/product/helper/gallery.phtml';
2727

2828
/**
2929
* @var \Magento\Catalog\Model\Product\Media\Config

app/code/Magento/Catalog/Block/Adminhtml/Product/Widget/Chooser/Container.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ class Container extends Template
1818
/**
1919
* @var string
2020
*/
21-
protected $_template = 'catalog/product/widget/chooser/container.phtml';
21+
protected $_template = 'Magento_Catalog::catalog/product/widget/chooser/container.phtml';
2222
}

app/code/Magento/Catalog/Block/Adminhtml/Rss/Grid/Link.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class Link extends \Magento\Framework\View\Element\Template
1313
/**
1414
* @var string
1515
*/
16-
protected $_template = 'rss/grid/link.phtml';
16+
protected $_template = 'Magento_Catalog::rss/grid/link.phtml';
1717

1818
/**
1919
* @var \Magento\Framework\App\Rss\UrlBuilderInterface

app/code/Magento/Catalog/Block/Product/ProductList/Toolbar.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class Toolbar extends \Magento\Framework\View\Element\Template
8383
/**
8484
* @var string
8585
*/
86-
protected $_template = 'product/list/toolbar.phtml';
86+
protected $_template = 'Magento_Catalog::product/list/toolbar.phtml';
8787

8888
/**
8989
* Catalog config

app/code/Magento/Catalog/Block/Product/View/Additional.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Additional extends \Magento\Framework\View\Element\Template
2525
/**
2626
* @var string
2727
*/
28-
protected $_template = 'product/view/additional.phtml';
28+
protected $_template = 'Magento_Catalog::product/view/additional.phtml';
2929

3030
/**
3131
* @return array

app/code/Magento/CatalogWidget/Block/Product/Widget/Conditions.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class Conditions extends Template implements RendererInterface
5151
/**
5252
* @var string
5353
*/
54-
protected $_template = 'product/widget/conditions.phtml';
54+
protected $_template = 'Magento_CatalogWidget::product/widget/conditions.phtml';
5555

5656
/**
5757
* @param \Magento\Framework\Data\Form\Element\Factory $elementFactory

app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Attribute/NewAttribute/Product/Created.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Created extends \Magento\Backend\Block\Widget
1616
/**
1717
* @var string
1818
*/
19-
protected $_template = 'catalog/product/attribute/new/created.phtml';
19+
protected $_template = 'Magento_ConfigurableProduct::catalog/product/attribute/new/created.phtml';
2020

2121
/**
2222
* Core registry

app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Edit/Tab/Variations/Config.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Config extends Widget implements TabInterface
1818
/**
1919
* @var string
2020
*/
21-
protected $_template = 'catalog/product/edit/super/config.phtml';
21+
protected $_template = 'Magento_ConfigurableProduct::catalog/product/edit/super/config.phtml';
2222

2323
/**
2424
* Core registry

app/code/Magento/CurrencySymbol/Block/Adminhtml/System/Currency.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class Currency extends \Magento\Backend\Block\Template
2020
/**
2121
* @var string
2222
*/
23-
protected $_template = 'system/currency/rates.phtml';
23+
protected $_template = 'Magento_CurrencySymbol::system/currency/rates.phtml';
2424

2525
/**
2626
* Prepare layout

app/code/Magento/CurrencySymbol/Block/Adminhtml/System/Currency/Rate/Matrix.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Matrix extends \Magento\Backend\Block\Template
1616
/**
1717
* @var string
1818
*/
19-
protected $_template = 'system/currency/rate/matrix.phtml';
19+
protected $_template = 'Magento_CurrencySymbol::system/currency/rate/matrix.phtml';
2020

2121
/**
2222
* @var \Magento\Directory\Model\CurrencyFactory

app/code/Magento/CurrencySymbol/Block/Adminhtml/System/Currency/Rate/Services.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Services extends \Magento\Backend\Block\Template
1616
/**
1717
* @var string
1818
*/
19-
protected $_template = 'system/currency/rate/services.phtml';
19+
protected $_template = 'Magento_CurrencySymbol::system/currency/rate/services.phtml';
2020

2121
/**
2222
* @var \Magento\Directory\Model\Currency\Import\Source\ServiceFactory

app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Newsletter.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Newsletter extends \Magento\Backend\Block\Widget\Form\Generic implements T
1717
/**
1818
* @var string
1919
*/
20-
protected $_template = 'tab/newsletter.phtml';
20+
protected $_template = 'Magento_Customer::tab/newsletter.phtml';
2121

2222
/**
2323
* @var \Magento\Newsletter\Model\SubscriberFactory

app/code/Magento/Customer/Block/Adminhtml/Sales/Order/Address/Form/Renderer/Vat.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class Vat extends \Magento\Backend\Block\Widget\Form\Renderer\Fieldset\Element
2424
/**
2525
* @var string
2626
*/
27-
protected $_template = 'sales/order/create/address/form/renderer/vat.phtml';
27+
protected $_template = 'Magento_Customer::sales/order/create/address/form/renderer/vat.phtml';
2828

2929
/**
3030
* @var \Magento\Framework\Json\EncoderInterface

app/code/Magento/Customer/Block/Newsletter.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class Newsletter extends \Magento\Customer\Block\Account\Dashboard
2020
/**
2121
* @var string
2222
*/
23-
protected $_template = 'form/newsletter.phtml';
23+
protected $_template = 'Magento_Customer::form/newsletter.phtml';
2424

2525
/**
2626
* @return bool

app/code/Magento/Downloadable/Block/Adminhtml/Catalog/Product/Edit/Tab/Downloadable.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class Downloadable extends Widget implements TabInterface
3333
/**
3434
* @var string
3535
*/
36-
protected $_template = 'product/edit/downloadable.phtml';
36+
protected $_template = 'Magento_Downloadable::product/edit/downloadable.phtml';
3737

3838
/**
3939
* Accordion block id

app/code/Magento/Downloadable/Block/Adminhtml/Catalog/Product/Edit/Tab/Downloadable/Links.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class Links extends \Magento\Backend\Block\Template
3030
/**
3131
* @var string
3232
*/
33-
protected $_template = 'product/edit/downloadable/links.phtml';
33+
protected $_template = 'Magento_Downloadable::product/edit/downloadable/links.phtml';
3434

3535
/**
3636
* Downloadable file

app/code/Magento/Downloadable/Block/Adminhtml/Catalog/Product/Edit/Tab/Downloadable/Samples.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class Samples extends \Magento\Backend\Block\Widget
2222
/**
2323
* @var string
2424
*/
25-
protected $_template = 'product/edit/downloadable/samples.phtml';
25+
protected $_template = 'Magento_Downloadable::product/edit/downloadable/samples.phtml';
2626

2727
/**
2828
* Downloadable file

app/code/Magento/Eav/Block/Adminhtml/Attribute/Edit/Js.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ class Js extends \Magento\Backend\Block\Template
1717
*
1818
* @var string
1919
*/
20-
protected $_template = 'attribute/edit/js.phtml';
20+
protected $_template = 'Magento_Eav::attribute/edit/js.phtml';
2121
}

app/code/Magento/Email/Block/Adminhtml/Template.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class Template extends \Magento\Backend\Block\Template implements \Magento\Backe
2222
*
2323
* @var string
2424
*/
25-
protected $_template = 'template/list.phtml';
25+
protected $_template = 'Magento_Email::template/list.phtml';
2626

2727
/**
2828
* @var \Magento\Backend\Block\Widget\Button\ButtonList

app/code/Magento/Email/Block/Adminhtml/Template/Edit.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class Edit extends Widget implements ContainerInterface
4242
*
4343
* @var string
4444
*/
45-
protected $_template = 'template/edit.phtml';
45+
protected $_template = 'Magento_Email::template/edit.phtml';
4646

4747
/**
4848
* @var \Magento\Framework\Json\EncoderInterface

app/code/Magento/GiftMessage/Block/Message/Inline.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class Inline extends \Magento\Framework\View\Element\Template
3333
/**
3434
* @var string
3535
*/
36-
protected $_template = 'inline.phtml';
36+
protected $_template = 'Magento_GiftMessage::inline.phtml';
3737

3838
/**
3939
* Gift message message

app/code/Magento/LayeredNavigation/Block/Navigation/State.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class State extends \Magento\Framework\View\Element\Template
1818
/**
1919
* @var string
2020
*/
21-
protected $_template = 'layer/state.phtml';
21+
protected $_template = 'Magento_LayeredNavigation::layer/state.phtml';
2222

2323
/**
2424
* Catalog layer

0 commit comments

Comments
 (0)