public function SimpleMegaMenuHelper::__construct in Simple Mega Menu 8
Same name and namespace in other branches
- 2.0.x 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_megamenuCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
}