You are here

public function FieldInheritance::sourceEntityBundle in Field Inheritance 8

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

Code

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