ThemesNotUsingClassyTemplatesTest::$templatesSkippableBecauseIdenticalToStable

Templates that are identical in Stable, which means they can be skipped.

In several cases, the templates in Classy are identical to those in Stable. This means that a theme would behave identically even if those templates were removed from Classy. They are effectively decoupled from Classy already as they rely on no functionality unique to Classy.

Type: string[]

See also

\Drupal\Tests\Core\Theme\ClassyTemplatesIdenticalToStableTest for a test that confirms that these templates are identical.

File

core/tests/Drupal/KernelTests/Core/Theme/ThemesNotUsingClassyTemplatesTest.php, line 48

Class

ThemesNotUsingClassyTemplatesTest
Tests that themes do not depend on Classy templates.

Namespace

Drupal\KernelTests\Core\Theme

Code

protected $templatesSkippableBecauseIdenticalToStable = [
    'file-upload-help',
    'file-widget-multiple',
    'image-formatter',
    'image-style',
    'checkboxes',
    'confirm-form',
    'container',
    'dropbutton-wrapper',
    'field-multiple-value-form',
    'form',
    'input',
    'select',
    'links',
    'menu-local-action',
    'pager',
    'vertical-tabs',
    'views-view-grid',
    'views-view-list',
    'views-view-mapping-test',
    'views-view-opml',
    'views-view-row-opml',
    'views-view-rss',
    'views-view-unformatted',
];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.