public function FieldInheritance::sourceEntityBundle in Field Inheritance 2.0.x
Same name and namespace in other branches
- 8 src/Entity/FieldInheritance.php \Drupal\field_inheritance\Entity\FieldInheritance::sourceEntityBundle()
Get the inheritance source entity bundle.
Return value
string The inheritance source entity bundle.
Overrides FieldInheritanceInterface::sourceEntityBundle
File
- src/
Entity/ FieldInheritance.php, line 158
Class
- FieldInheritance
- Defines the Field inheritance entity.
Namespace
Drupal\field_inheritance\EntityCode
public function sourceEntityBundle() {
return isset($this->sourceEntityBundle) ? $this->sourceEntityBundle : NULL;
}