You are here

public function EntityTypedDataDefinitionTest::entityDefinitionIsInternalProvider in Drupal 9

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

Code

public function entityDefinitionIsInternalProvider() {
  return [
    'internal' => [
      TRUE,
      TRUE,
    ],
    'external' => [
      FALSE,
      FALSE,
    ],
    'undefined' => [
      NULL,
      FALSE,
    ],
  ];
}