You are here

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

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

Set the inheritance destination field.

The inheritance destination field.

Return value

$this

Overrides FieldInheritanceInterface::setDestinationField

File

src/Entity/FieldInheritance.php, line 241

Class

FieldInheritance
Defines the Field inheritance entity.

Namespace

Drupal\field_inheritance\Entity

Code

public function setDestinationField($destination_field) {
  $this->destinationField = $destination_field;
  return $this;
}