You are here

public function SimpleMegaMenuHelper::__construct in Simple Mega Menu 2.0.x

Same name and namespace in other branches
  1. 8 src/SimpleMegaMenuHelper.php \Drupal\simple_megamenu\SimpleMegaMenuHelper::__construct()

Constructor.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

File

src/SimpleMegaMenuHelper.php, line 28

Class

SimpleMegaMenuHelper
Class SimpleMegaMenuHelper.

Namespace

Drupal\simple_megamenu

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager) {
  $this->entityTypeManager = $entity_type_manager;
}