Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/EntityTypeInterface.php \Drupal\Core\Entity\EntityTypeInterface::isInternal()
  2. 9 core/lib/Drupal/Core/Entity/EntityTypeInterface.php \Drupal\Core\Entity\EntityTypeInterface::isInternal()

Indicates whether the entity data is internal.

This can be used in a scenario when it is not desirable to expose data of this entity type to an external system.

The implications of this method are left to the discretion of the caller. For example, a module providing an HTTP API may not expose entities of this type or a custom entity reference field settings form may reduce the priority for entities of this type in a select list.

Return value

bool TRUE if the entity data is internal, FALSE otherwise.

See also

\Drupal\Core\TypedData\DataDefinitionInterface::isInternal()

1 method overrides EntityTypeInterface::isInternal()
EntityType::isInternal in core/lib/Drupal/Core/Entity/EntityType.php
Indicates whether the entity data is internal.

File

core/lib/Drupal/Core/Entity/EntityTypeInterface.php, line 529

Class

EntityTypeInterface
Provides an interface for an entity type and its metadata.

Namespace

Drupal\Core\Entity

Code

public function isInternal();