You are here

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

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

Set the inheritance source entity type.

The inheritance source entity type.

Return value

$this

Overrides FieldInheritanceInterface::setSourceEntityType

File

src/Entity/FieldInheritance.php, line 201

Class

FieldInheritance
Defines the Field inheritance entity.

Namespace

Drupal\field_inheritance\Entity

Code

public function setSourceEntityType($source_entity_type) {
  $this->sourceEntityType = $source_entity_type;
  return $this;
}