You are here

public function FieldInheritance::plugin in Field Inheritance 8

Same name and namespace in other branches
  1. 2.0.x src/Entity/FieldInheritance.php \Drupal\field_inheritance\Entity\FieldInheritance::plugin()

Get the inheritance plugin.

Return value

string The inheritance plugin.

Overrides FieldInheritanceInterface::plugin

File

src/Entity/FieldInheritance.php, line 186

Class

FieldInheritance
Defines the Field inheritance entity.

Namespace

Drupal\field_inheritance\Entity

Code

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