bigmenu.module in Big Menu 8
Same filename and directory in other branches
Alternative to core menu management.
Needed when menus get too big to load on one page.
File
bigmenu.moduleView source
<?php
/**
* @file
* Alternative to core menu management.
*
* Needed when menus get too big to load on one page.
*/
use Drupal\bigmenu\BigMenuForm;
/**
* Implements hook_entity_type_alter().
*/
function bigmenu_entity_type_alter(array &$entity_types) {
/** @var \Drupal\Core\Entity\EntityTypeInterface[] $entity_types */
$entity_types['menu']
->setFormClass('edit', BigMenuForm::class);
}
Functions
Name | Description |
---|---|
bigmenu_entity_type_alter | Implements hook_entity_type_alter(). |