MenuLinkInterface::getTranslateRoute |
function |
core/lib/Drupal/Core/Menu/MenuLinkInterface.php |
Returns route information for a route to translate the menu link. |
MenuLinkInterface::getUrlObject |
function |
core/lib/Drupal/Core/Menu/MenuLinkInterface.php |
Returns a URL object containing either the external path or route. |
MenuLinkInterface::getWeight |
function |
core/lib/Drupal/Core/Menu/MenuLinkInterface.php |
Returns the weight of the menu link. |
MenuLinkInterface::isDeletable |
function |
core/lib/Drupal/Core/Menu/MenuLinkInterface.php |
Returns whether this link can be deleted. |
MenuLinkInterface::isEnabled |
function |
core/lib/Drupal/Core/Menu/MenuLinkInterface.php |
Returns whether the menu link is enabled (not hidden). |
MenuLinkInterface::isExpanded |
function |
core/lib/Drupal/Core/Menu/MenuLinkInterface.php |
Returns whether the child menu links should always been shown. |
MenuLinkInterface::isResettable |
function |
core/lib/Drupal/Core/Menu/MenuLinkInterface.php |
Returns whether this link can be reset. |
MenuLinkInterface::isTranslatable |
function |
core/lib/Drupal/Core/Menu/MenuLinkInterface.php |
Returns whether this link can be translated. |
MenuLinkInterface::updateLink |
function |
core/lib/Drupal/Core/Menu/MenuLinkInterface.php |
Updates the definition values for a menu link. |
MenuLinkListBuilder |
class |
core/modules/menu_link_content/src/MenuLinkListBuilder.php |
Provides a menu link list builder. |
MenuLinkListBuilder.php |
file |
core/modules/menu_link_content/src/MenuLinkListBuilder.php |
|
MenuLinkListBuilder::$redirectDestination |
property |
core/modules/menu_link_content/src/MenuLinkListBuilder.php |
The redirect destination. |
MenuLinkListBuilder::createInstance |
function |
core/modules/menu_link_content/src/MenuLinkListBuilder.php |
Instantiates a new instance of this entity handler. |
MenuLinkListBuilder::getDefaultOperations |
function |
core/modules/menu_link_content/src/MenuLinkListBuilder.php |
Gets this list's default operations. |
MenuLinkListBuilder::render |
function |
core/modules/menu_link_content/src/MenuLinkListBuilder.php |
Builds the entity listing as renderable array for table.html.twig. |
MenuLinkListBuilder::__construct |
function |
core/modules/menu_link_content/src/MenuLinkListBuilder.php |
Constructs a new instance. |
MenuLinkLocalized |
class |
core/modules/menu_link_content/src/Plugin/migrate/source/d7/MenuLinkLocalized.php |
Drupal 7 localized menu link translations source from database. |
MenuLinkLocalized.php |
file |
core/modules/menu_link_content/src/Plugin/migrate/source/d7/MenuLinkLocalized.php |
|
MenuLinkLocalized::fields |
function |
core/modules/menu_link_content/src/Plugin/migrate/source/d7/MenuLinkLocalized.php |
Returns available fields on the source. |
MenuLinkLocalized::getIds |
function |
core/modules/menu_link_content/src/Plugin/migrate/source/d7/MenuLinkLocalized.php |
Defines the source fields uniquely identifying a source row. |
MenuLinkLocalized::prepareRow |
function |
core/modules/menu_link_content/src/Plugin/migrate/source/d7/MenuLinkLocalized.php |
Adds additional data to the row. |
MenuLinkLocalized::query |
function |
core/modules/menu_link_content/src/Plugin/migrate/source/d7/MenuLinkLocalized.php |
|
MenuLinkLocalizedTest |
class |
core/modules/menu_link_content/tests/src/Kernel/Plugin/migrate/source/d7/MenuLinkLocalizedTest.php |
Tests menu link localized translation source plugin. |
MenuLinkLocalizedTest.php |
file |
core/modules/menu_link_content/tests/src/Kernel/Plugin/migrate/source/d7/MenuLinkLocalizedTest.php |
|
MenuLinkLocalizedTest::$modules |
property |
core/modules/menu_link_content/tests/src/Kernel/Plugin/migrate/source/d7/MenuLinkLocalizedTest.php |
Modules to install. |
MenuLinkLocalizedTest::providerSource |
function |
core/modules/menu_link_content/tests/src/Kernel/Plugin/migrate/source/d7/MenuLinkLocalizedTest.php |
|
MenuLinkManager |
class |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Manages discovery, instantiation, and tree building of menu link plugins. |
MenuLinkManager.php |
file |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
|
MenuLinkManager::$discovery |
property |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
The object that discovers plugins managed by this manager. |
MenuLinkManager::$factory |
property |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
The object that instantiates plugins managed by this manager. |
MenuLinkManager::$moduleHandler |
property |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
The module handler. |
MenuLinkManager::$overrides |
property |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Service providing overrides for static links. |
MenuLinkManager::$treeStorage |
property |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
The menu link tree storage. |
MenuLinkManager::addDefinition |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Adds a new menu link definition to the menu tree storage. |
MenuLinkManager::countMenuLinks |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Counts the total number of menu links. |
MenuLinkManager::createInstance |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Returns a pre-configured menu link plugin instance. |
MenuLinkManager::deleteInstance |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Deletes a specific instance. |
MenuLinkManager::deleteLinksInMenu |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Deletes all links having a certain menu name. |
MenuLinkManager::getChildIds |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Loads all child link IDs of a given menu link, regardless of visibility. |
MenuLinkManager::getDefinition |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
|
MenuLinkManager::getDefinitions |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
|
MenuLinkManager::getDiscovery |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Gets the plugin discovery. |
MenuLinkManager::getFactory |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Gets the plugin factory. |
MenuLinkManager::getInstance |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
|
MenuLinkManager::getParentIds |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Loads all parent link IDs of a given menu link. |
MenuLinkManager::hasDefinition |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
|
MenuLinkManager::loadLinksByRoute |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Loads multiple plugin instances based on route. |
MenuLinkManager::menuNameInUse |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Determines if any links use a given menu name. |
MenuLinkManager::processDefinition |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Performs extra processing on plugin definitions. |
MenuLinkManager::rebuild |
function |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Triggers discovery, save, and cleanup of discovered links. |