Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
testPageTypesDeclaration () | |
testOverrideBaseFiles () | |
testOverrideThemeFiles () | |
overrideBaseFilesDataProvider () | |
overrideThemeFilesDataProvider () | |
Static Public Member Functions | |
static | setUpBeforeClass () |
static | tearDownAfterClass () |
Protected Member Functions | |
_collectHierarchyErrors ($node, $xml, &$errors) | |
Static Protected Member Functions | |
static | _getCachedFiles ( $cacheKey, $sourceClass, \Magento\Framework\View\Design\ThemeInterface $theme) |
Static Protected Attributes | |
static | $_cachedFiles = [] |
@SuppressWarnings(PHPMD.CouplingBetweenObjects)
Definition at line 14 of file LayoutTest.php.
|
protected |
Validate node's declared position in hierarchy and add errors to the specified array if found
\SimpleXMLElement | $node | |
\Magento\Framework\View\Layout\Element | $xml | |
array | &$errors |
Definition at line 58 of file LayoutTest.php.
|
staticprotected |
Retrieve list of cached source files
string | $cacheKey | |
string | $sourceClass | |
\Magento\Framework\View\Design\ThemeInterface | $theme |
Definition at line 269 of file LayoutTest.php.
overrideBaseFilesDataProvider | ( | ) |
overrideThemeFilesDataProvider | ( | ) |
|
static |
Definition at line 23 of file LayoutTest.php.
|
static |
Definition at line 30 of file LayoutTest.php.
testOverrideBaseFiles | ( | ) |
Check, that for an overriding file ($themeFile) in a theme ($theme), there is a corresponding base file
\Magento\Framework\View\File | $themeFile | |
\Magento\Framework\View\Design\ThemeInterface | $theme |
Definition at line 184 of file LayoutTest.php.
testOverrideThemeFiles | ( | ) |
Check, that for an ancestor-overriding file ($themeFile) in a theme ($theme), there is a corresponding file in that ancestor theme
\Magento\Framework\View\File | $themeFile | |
\Magento\Framework\View\Design\ThemeInterface | $theme |
Definition at line 211 of file LayoutTest.php.
testPageTypesDeclaration | ( | ) |
Check whether page types are declared only in layout update files allowed for it - base ones
Definition at line 132 of file LayoutTest.php.
|
staticprotected |
Definition at line 21 of file LayoutTest.php.