Search for menu

  1. Search 7.x for menu
  2. Search 9.5.x for menu
  3. Search 10.3.x for menu
  4. Search 11.x for menu
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Menu class core/modules/system/src/Entity/Menu.php Defines the Menu configuration entity class.
Menu class core/modules/system/src/Plugin/migrate/source/Menu.php Menu source from database.

All search results

Title Object type File name Summary
MenuTreeStorage::ensureTableExists function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Checks if the tree table exists and create it if not.
MenuTreeStorage::findNoLongerExistingLinks function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Find any previously discovered menu links that no longer exist.
MenuTreeStorage::findParent function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Loads the parent definition if it exists.
MenuTreeStorage::getAllChildIds function core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::getExpanded function core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::getMenuNames function core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::getRootPathIds function core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::getSubtreeHeight function core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::load function core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::loadAllChildren function core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::loadByProperties function core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::loadByRoute function core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::loadFull function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Loads all table fields, not just those that are in the plugin definition.
MenuTreeStorage::loadFullMultiple function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Loads all table fields for multiple menu link definitions by ID.
MenuTreeStorage::loadLinks function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Loads links in the given menu, according to the given tree parameters.
MenuTreeStorage::loadMultiple function core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::loadSubtreeData function core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::loadTreeData function core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::maxDepth function core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::MAX_DEPTH constant core/lib/Drupal/Core/Menu/MenuTreeStorage.php The maximum depth of a menu links tree.
MenuTreeStorage::menuNameInUse function core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::moveChildren function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Re-parents a link's children when the link itself is moved.
MenuTreeStorage::prepareLink function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Prepares a link by unserializing values and saving the definition.
MenuTreeStorage::preSave function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Fills in all the fields the database save needs, using the link definition.
MenuTreeStorage::purgeMultiple function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Purges multiple menu links that no longer exist.
MenuTreeStorage::rebuild function core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::resetDefinitions function core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::safeExecuteSelect function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Executes a select query while making sure the database table exists.
MenuTreeStorage::save function core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::saveRecursive function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Saves menu links recursively.
MenuTreeStorage::schemaDefinition function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Defines the schema for the tree table.
MenuTreeStorage::serializedFields function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Determines serialized fields in the storage.
MenuTreeStorage::setParents function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Sets the materialized path field values based on the parent.
MenuTreeStorage::treeDataRecursive function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Builds the data representing a menu tree.
MenuTreeStorage::updateParentalStatus function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Sets has_children for the link's parent if it has visible children.
MenuTreeStorage::__construct function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Constructs a new \Drupal\Core\Menu\MenuTreeStorage.
MenuTreeStorageInterface interface core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Defines an interface for storing a menu tree containing menu link IDs.
MenuTreeStorageInterface.php file core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php
MenuTreeStorageInterface::countMenuLinks function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Counts the total number of menu links in one menu or all menus.
MenuTreeStorageInterface::delete function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Deletes a menu link definition from the storage.
MenuTreeStorageInterface::getAllChildIds function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Loads all the IDs for menu links that are below the given ID.
MenuTreeStorageInterface::getExpanded function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Finds expanded links in a menu given a set of possible parents.
MenuTreeStorageInterface::getMenuNames function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Returns the used menu names in the tree storage.
MenuTreeStorageInterface::getRootPathIds function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Returns all the IDs that represent the path to the root of the tree.
MenuTreeStorageInterface::getSubtreeHeight function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Finds the height of a subtree rooted by the given ID.
MenuTreeStorageInterface::load function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Loads a menu link plugin definition from the storage.
MenuTreeStorageInterface::loadAllChildren function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Loads all the enabled menu links that are below the given ID.
MenuTreeStorageInterface::loadByProperties function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Loads multiple plugin definitions from the storage based on properties.
MenuTreeStorageInterface::loadByRoute function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Loads multiple plugin definitions from the storage based on route.
MenuTreeStorageInterface::loadMultiple function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Loads multiple plugin definitions from the storage.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.