You are here

protected function MicrositeLogoBranding::setEntityTypeManager in Entity Reference Hierarchy 8.2

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

Sets value of EntityTypeManager.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: Value for EntityTypeManager.

Return value

$this

File

modules/entity_hierarchy_microsite/src/Plugin/Block/MicrositeLogoBranding.php, line 39

Class

MicrositeLogoBranding
Defines a class for a branding and logo block for a microsite.

Namespace

Drupal\entity_hierarchy_microsite\Plugin\Block

Code

protected function setEntityTypeManager(EntityTypeManagerInterface $entityTypeManager) {
  $this->entityTypeManager = $entityTypeManager;
  return $this;
}