You are here

public function EntityDescriptionTest::provider in Lightning Core 8.5

Same name and namespace in other branches
  1. 8 tests/src/Kernel/EntityDescriptionTest.php \Drupal\Tests\lightning_core\Kernel\EntityDescriptionTest::provider()
  2. 8.2 tests/src/Kernel/EntityDescriptionTest.php \Drupal\Tests\lightning_core\Kernel\EntityDescriptionTest::provider()
  3. 8.3 tests/src/Kernel/EntityDescriptionTest.php \Drupal\Tests\lightning_core\Kernel\EntityDescriptionTest::provider()
  4. 8.4 tests/src/Kernel/EntityDescriptionTest.php \Drupal\Tests\lightning_core\Kernel\EntityDescriptionTest::provider()

Data provider for ::testEntityDescription().

Return value

array The test data.

File

tests/src/Kernel/EntityDescriptionTest.php, line 26

Class

EntityDescriptionTest
Tests attaching descriptive text to certain config entities.

Namespace

Drupal\Tests\lightning_core\Kernel

Code

public function provider() {
  return [
    [
      'entity_form_mode',
    ],
    [
      'entity_view_mode',
    ],
    [
      'user_role',
    ],
  ];
}