You are here

public function FieldInheritance::setDestinationEntityType in Field Inheritance 8

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

Set the inheritance destination entity type.

The inheritance destination entity type.

Return value

$this

Overrides FieldInheritanceInterface::setDestinationEntityType

File

src/Entity/FieldInheritance.php, line 209

Class

FieldInheritance
Defines the Field inheritance entity.

Namespace

Drupal\field_inheritance\Entity

Code

public function setDestinationEntityType($destination_entity_type) {
  $this->destinationEntityType = $destination_entity_type;
  return $this;
}