public function FieldInheritance::setSourceEntityBundle in Field Inheritance 8
Same name and namespace in other branches
- 2.0.x 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\EntityCode
public function setSourceEntityBundle($source_entity_bundle) {
$this->sourceEntityBundle = $source_entity_bundle;
return $this;
}