You are here

protected property ThemesNotUsingClassyTemplatesTest::$templatesSkippableBecauseIdenticalToStable in Drupal 8

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.

test that confirms that these templates are identical.

Type: string[]

See also

\Drupal\Tests\Core\Theme\ClassyTemplatesIdenticalToStableTest for a

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',
];