public function EntityDescriptionTest::provider in Lightning Core 8.5
Same name and namespace in other branches
- 8 tests/src/Kernel/EntityDescriptionTest.php \Drupal\Tests\lightning_core\Kernel\EntityDescriptionTest::provider()
- 8.2 tests/src/Kernel/EntityDescriptionTest.php \Drupal\Tests\lightning_core\Kernel\EntityDescriptionTest::provider()
- 8.3 tests/src/Kernel/EntityDescriptionTest.php \Drupal\Tests\lightning_core\Kernel\EntityDescriptionTest::provider()
- 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\KernelCode
public function provider() {
return [
[
'entity_form_mode',
],
[
'entity_view_mode',
],
[
'user_role',
],
];
}