You are here

public function EntityDescriptionTest::provider in Lightning Core 8

Same name and namespace in other branches
  1. 8.5 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 25

Class

EntityDescriptionTest
@group lightning @group lightning_core

Namespace

Drupal\Tests\lightning_core\Kernel

Code

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