You are here

public function FieldInheritance::setPlugin in Field Inheritance 8

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

Set the inheritance plugin.

The inheritance plugin.

Return value

$this

Overrides FieldInheritanceInterface::setPlugin

File

src/Entity/FieldInheritance.php, line 249

Class

FieldInheritance
Defines the Field inheritance entity.

Namespace

Drupal\field_inheritance\Entity

Code

public function setPlugin($plugin) {
  $this->plugin = $plugin;
  return $this;
}