function EntityTypedDataDefinitionTest::entityDefinitionIsInternalProvider
Same name in other branches
- 9 core/tests/Drupal/KernelTests/Core/Entity/EntityTypedDataDefinitionTest.php \Drupal\KernelTests\Core\Entity\EntityTypedDataDefinitionTest::entityDefinitionIsInternalProvider()
- 8.9.x core/tests/Drupal/KernelTests/Core/Entity/EntityTypedDataDefinitionTest.php \Drupal\KernelTests\Core\Entity\EntityTypedDataDefinitionTest::entityDefinitionIsInternalProvider()
- 10 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 177
Class
- EntityTypedDataDefinitionTest
- Tests deriving metadata of entity and field data types.
Namespace
Drupal\KernelTests\Core\EntityCode
public static function entityDefinitionIsInternalProvider() {
return [
'internal' => [
TRUE,
TRUE,
],
'external' => [
FALSE,
FALSE,
],
'undefined' => [
NULL,
FALSE,
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.