public function MenuEntityIndex::__construct in Menu Entity Index 8
Creates a new ViewsData instance.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\menu_entity_index\TrackerInterface $tracker: The tracker service.
File
- src/
ViewsData/ MenuEntityIndex.php, line 41
Class
- MenuEntityIndex
- Provides Menu Entity Index views integration.
Namespace
Drupal\menu_entity_index\ViewsDataCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, TrackerInterface $tracker) {
$this->entityTypeManager = $entity_type_manager;
$this->tracker = $tracker;
}