function NodeDisplayConfigurableTest::provideThemes

Same name and namespace in other branches
  1. 11.x core/modules/node/tests/src/Functional/NodeDisplayConfigurableTest.php \Drupal\Tests\node\Functional\NodeDisplayConfigurableTest::provideThemes()
  2. 9 core/modules/rdf/tests/src/Functional/Node/NodeDisplayConfigurableTest.php \Drupal\Tests\rdf\Functional\Node\NodeDisplayConfigurableTest::provideThemes()

Data provider for ::testDisplayConfigurable().

Return value

array An array of test cases.

File

core/modules/node/tests/src/Functional/NodeDisplayConfigurableTest.php, line 177

Class

NodeDisplayConfigurableTest
Tests making node base fields' displays configurable.

Namespace

Drupal\Tests\node\Functional

Code

public static function provideThemes() : array {
  return [
    // Default Admin overrides the title to a plain string for the canonical
    // route, so field--name-title is not present.
[
      'default_admin',
      'footer',
      FALSE,
    ],
  ];
}

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