8.2.x EntityTypeInterface.php public EntityTypeInterface::isCommonReferenceTarget()
8.0.x EntityTypeInterface.php public EntityTypeInterface::isCommonReferenceTarget()
8.1.x EntityTypeInterface.php public EntityTypeInterface::isCommonReferenceTarget()
8.3.x EntityTypeInterface.php public EntityTypeInterface::isCommonReferenceTarget()

Indicates whether this entity type is commonly used as a reference target.

Return value

bool TRUE if the entity type is a common reference; FALSE otherwise.

1 method overrides EntityTypeInterface::isCommonReferenceTarget()
EntityType::isCommonReferenceTarget in core/lib/Drupal/Core/Entity/EntityType.php
Indicates whether this entity type is commonly used as a reference target.

File

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

Class

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

Namespace

Drupal\Core\Entity

Code

public function isCommonReferenceTarget();