You are here

public function FieldInheritance::destinationEntityType in Field Inheritance 2.0.x

Same name and namespace in other branches
  1. 8 src/Entity/FieldInheritance.php \Drupal\field_inheritance\Entity\FieldInheritance::destinationEntityType()

Get the inheritance destination entity type.

Return value

string The inheritance destination entity type.

Overrides FieldInheritanceInterface::destinationEntityType

2 calls to FieldInheritance::destinationEntityType()
FieldInheritance::idWithoutTypeAndBundle in src/Entity/FieldInheritance.php
Get the inheritance ID without the type and bundle.
FieldInheritance::save in src/Entity/FieldInheritance.php
Saves an entity permanently.

File

src/Entity/FieldInheritance.php, line 151

Class

FieldInheritance
Defines the Field inheritance entity.

Namespace

Drupal\field_inheritance\Entity

Code

public function destinationEntityType() {
  return isset($this->destinationEntityType) ? $this->destinationEntityType : NULL;
}