You are here

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

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

Set the inheritance source entity bundles.

The inheritance source entity bundles.

Return value

$this

Overrides FieldInheritanceInterface::setSourceEntityBundle

File

src/Entity/FieldInheritance.php, line 217

Class

FieldInheritance
Defines the Field inheritance entity.

Namespace

Drupal\field_inheritance\Entity

Code

public function setSourceEntityBundle($source_entity_bundle) {
  $this->sourceEntityBundle = $source_entity_bundle;
  return $this;
}