public function EntityTypedDataDefinitionTest::entityDefinitionIsInternalProvider in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/KernelTests/Core/Entity/EntityTypedDataDefinitionTest.php \Drupal\KernelTests\Core\Entity\EntityTypedDataDefinitionTest::entityDefinitionIsInternalProvider()
Provides test cases for testEntityDefinitionIsInternal.
File
- core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityTypedDataDefinitionTest.php, line 171
Class
- EntityTypedDataDefinitionTest
- Tests deriving metadata of entity and field data types.
Namespace
Drupal\KernelTests\Core\EntityCode
public function entityDefinitionIsInternalProvider() {
return [
'internal' => [
TRUE,
TRUE,
],
'external' => [
FALSE,
FALSE,
],
'undefined' => [
NULL,
FALSE,
],
];
}