MenuLinkFormInterface.php |
file |
core/lib/Drupal/Core/Menu/Form/MenuLinkFormInterface.php |
|
MenuLinkFormInterface::extractFormValues |
function |
core/lib/Drupal/Core/Menu/Form/MenuLinkFormInterface.php |
Extracts a plugin definition from form values. |
MenuLinkFormInterface::setMenuLinkInstance |
function |
core/lib/Drupal/Core/Menu/Form/MenuLinkFormInterface.php |
Injects the menu link plugin instance. |
MenuLinkInterface |
interface |
core/lib/Drupal/Core/Menu/MenuLinkInterface.php |
Defines an interface for classes providing a type of menu link. |
MenuLinkInterface.php |
file |
core/lib/Drupal/Core/Menu/MenuLinkInterface.php |
|
MenuLinkInterface::deleteLink |
function |
core/lib/Drupal/Core/Menu/MenuLinkInterface.php |
Deletes a menu link. |
MenuLinkInterface::getDeleteRoute |
function |
core/lib/Drupal/Core/Menu/MenuLinkInterface.php |
Returns route information for a route to delete the menu link. |
MenuLinkInterface::getDescription |
function |
core/lib/Drupal/Core/Menu/MenuLinkInterface.php |
Returns the description of the menu link. |
MenuLinkInterface::getEditRoute |
function |
core/lib/Drupal/Core/Menu/MenuLinkInterface.php |
Returns route information for a custom edit form for the menu link. |
MenuLinkInterface::getFormClass |
function |
core/lib/Drupal/Core/Menu/MenuLinkInterface.php |
Returns the name of a class that can build an editing form for this link. |
MenuLinkInterface::getMenuName |
function |
core/lib/Drupal/Core/Menu/MenuLinkInterface.php |
Returns the menu name of the menu link. |
MenuLinkInterface::getMetaData |
function |
core/lib/Drupal/Core/Menu/MenuLinkInterface.php |
Returns any metadata for this link. |
MenuLinkInterface::getOptions |
function |
core/lib/Drupal/Core/Menu/MenuLinkInterface.php |
Returns the options for this link. |
MenuLinkInterface::getParent |
function |
core/lib/Drupal/Core/Menu/MenuLinkInterface.php |
Returns the plugin ID of the menu link's parent, or an empty string. |
MenuLinkInterface::getProvider |
function |
core/lib/Drupal/Core/Menu/MenuLinkInterface.php |
Returns the provider (module name) of the menu link. |
MenuLinkInterface::getRouteName |
function |
core/lib/Drupal/Core/Menu/MenuLinkInterface.php |
Returns the route name, if available. |
MenuLinkInterface::getRouteParameters |
function |
core/lib/Drupal/Core/Menu/MenuLinkInterface.php |
Returns the route parameters, if available. |
MenuLinkInterface::getTitle |
function |
core/lib/Drupal/Core/Menu/MenuLinkInterface.php |
Returns the localized title to be shown for this link. |
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. |
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 enable. |
MenuLinkLocalizedTest::providerSource |
function |
core/modules/menu_link_content/tests/src/Kernel/Plugin/migrate/source/d7/MenuLinkLocalizedTest.php |
The data provider. |
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::$defaults |
property |
core/lib/Drupal/Core/Menu/MenuLinkManager.php |
Provides some default values for the definition of all menu link plugins. |
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. |