You are here

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

Same name and namespace in other branches
  1. 8 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\Entity

Code

public function destinationEntityBundle() {
  return isset($this->destinationEntityBundle) ? $this->destinationEntityBundle : NULL;
}