You are here

protected function MicrositePluginTrait::setEntityFieldManager in Entity Reference Hierarchy 8.2

Same name and namespace in other branches
  1. 3.x modules/entity_hierarchy_microsite/src/Plugin/MicrositePluginTrait.php \Drupal\entity_hierarchy_microsite\Plugin\MicrositePluginTrait::setEntityFieldManager()

Entity field manager.

Parameters

\Drupal\Core\Entity\EntityFieldManagerInterface $entityFieldManager: Entity field manager.

Return value

$this

File

modules/entity_hierarchy_microsite/src/Plugin/MicrositePluginTrait.php, line 50

Class

MicrositePluginTrait
Defines a trait for microsite plugin functionality.

Namespace

Drupal\entity_hierarchy_microsite\Plugin

Code

protected function setEntityFieldManager(EntityFieldManagerInterface $entityFieldManager) {
  $this->entityFieldManager = $entityFieldManager;
  return $this;
}