public function FieldInheritance::destinationEntityBundle in Field Inheritance 8
Same name and namespace in other branches
- 2.0.x src/Entity/FieldInheritance.php \Drupal\field_inheritance\Entity\FieldInheritance::destinationEntityBundle()
Get the inheritance destination entity bundle.
Return value
string The inheritance destination entity bundle.
Overrides FieldInheritanceInterface::destinationEntityBundle
2 calls to FieldInheritance::destinationEntityBundle()
- FieldInheritance::idWithoutTypeAndBundle in src/
Entity/ FieldInheritance.php - Get the inheritance ID without the type and bundle.
- FieldInheritance::save in src/
Entity/ FieldInheritance.php - Saves an entity permanently.
File
- src/
Entity/ FieldInheritance.php, line 165
Class
- FieldInheritance
- Defines the Field inheritance entity.
Namespace
Drupal\field_inheritance\EntityCode
public function destinationEntityBundle() {
return isset($this->destinationEntityBundle) ? $this->destinationEntityBundle : NULL;
}