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