You are here

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

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

Set the inheritance destination entity bundles.

The inheritance destination entity bundles.

Return value

$this

Overrides FieldInheritanceInterface::setDestinationEntityBundle

File

src/Entity/FieldInheritance.php, line 225

Class

FieldInheritance
Defines the Field inheritance entity.

Namespace

Drupal\field_inheritance\Entity

Code

public function setDestinationEntityBundle($destination_entity_bundle) {
  $this->destinationEntityBundle = $destination_entity_bundle;
  return $this;
}