MenuLinkBase |
class |
core/lib/Drupal/Core/Menu/MenuLinkBase.php |
Defines a base menu link class. |
MenuLinkBase.php |
file |
core/lib/Drupal/Core/Menu/MenuLinkBase.php |
|
MenuLinkBase::$overrideAllowed |
property |
core/lib/Drupal/Core/Menu/MenuLinkBase.php |
The list of definition values where an override is allowed. |
MenuLinkBase::deleteLink |
function |
core/lib/Drupal/Core/Menu/MenuLinkBase.php |
Deletes a menu link. |
MenuLinkBase::getCacheContexts |
function |
core/lib/Drupal/Core/Menu/MenuLinkBase.php |
The cache contexts associated with this object. |
MenuLinkBase::getCacheMaxAge |
function |
core/lib/Drupal/Core/Menu/MenuLinkBase.php |
The maximum age for which this object may be cached. |
MenuLinkBase::getCacheTags |
function |
core/lib/Drupal/Core/Menu/MenuLinkBase.php |
The cache tags associated with this object. |
MenuLinkBase::getDeleteRoute |
function |
core/lib/Drupal/Core/Menu/MenuLinkBase.php |
Returns route information for a route to delete the menu link. |
MenuLinkBase::getEditRoute |
function |
core/lib/Drupal/Core/Menu/MenuLinkBase.php |
Returns route information for a custom edit form for the menu link. |
MenuLinkBase::getFormClass |
function |
core/lib/Drupal/Core/Menu/MenuLinkBase.php |
Returns the name of a class that can build an editing form for this link. |
MenuLinkBase::getMenuName |
function |
core/lib/Drupal/Core/Menu/MenuLinkBase.php |
Returns the menu name of the menu link. |
MenuLinkBase::getMetaData |
function |
core/lib/Drupal/Core/Menu/MenuLinkBase.php |
Returns any metadata for this link. |
MenuLinkBase::getOperations |
function |
core/lib/Drupal/Core/Menu/MenuLinkBase.php |
Provides an array of information to build a list of operation links. |
MenuLinkBase::getOptions |
function |
core/lib/Drupal/Core/Menu/MenuLinkBase.php |
Returns the options for this link. |
MenuLinkBase::getParent |
function |
core/lib/Drupal/Core/Menu/MenuLinkBase.php |
Returns the plugin ID of the menu link's parent, or an empty string. |
MenuLinkBase::getProvider |
function |
core/lib/Drupal/Core/Menu/MenuLinkBase.php |
Returns the provider (module name) of the menu link. |
MenuLinkBase::getResetRoute |
function |
core/lib/Drupal/Core/Menu/MenuLinkBase.php |
Returns route information for a route to reset the menu link. |
MenuLinkBase::getRouteName |
function |
core/lib/Drupal/Core/Menu/MenuLinkBase.php |
Returns the route name, if available. |
MenuLinkBase::getRouteParameters |
function |
core/lib/Drupal/Core/Menu/MenuLinkBase.php |
Returns the route parameters, if available. |
MenuLinkBase::getTranslateRoute |
function |
core/lib/Drupal/Core/Menu/MenuLinkBase.php |
Returns route information for a route to translate the menu link. |
MenuLinkBase::getUrlObject |
function |
core/lib/Drupal/Core/Menu/MenuLinkBase.php |
Returns a URL object containing either the external path or route. |
MenuLinkBase::getWeight |
function |
core/lib/Drupal/Core/Menu/MenuLinkBase.php |
Returns the weight of the menu link. |
MenuLinkBase::isDeletable |
function |
core/lib/Drupal/Core/Menu/MenuLinkBase.php |
Returns whether this link can be deleted. |
MenuLinkBase::isEnabled |
function |
core/lib/Drupal/Core/Menu/MenuLinkBase.php |
Returns whether the menu link is enabled (not hidden). |
MenuLinkBase::isExpanded |
function |
core/lib/Drupal/Core/Menu/MenuLinkBase.php |
Returns whether the child menu links should always been shown. |
MenuLinkBase::isResettable |
function |
core/lib/Drupal/Core/Menu/MenuLinkBase.php |
Returns whether this link can be reset. |
MenuLinkBase::isTranslatable |
function |
core/lib/Drupal/Core/Menu/MenuLinkBase.php |
Returns whether this link can be translated. |
MenuLinkContent |
class |
core/modules/menu_link_content/src/Entity/MenuLinkContent.php |
Defines the menu link content entity class. |
MenuLinkContent |
class |
core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php |
Provides the menu link plugin for content menu links. |
MenuLinkContent.php |
file |
core/modules/menu_link_content/src/Entity/MenuLinkContent.php |
|
MenuLinkContent.php |
file |
core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php |
|
MenuLinkContent::$entity |
property |
core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php |
The menu link content entity connected to this plugin instance. |
MenuLinkContent::$entityIdsToLoad |
property |
core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php |
Entities IDs to load. |
MenuLinkContent::$entityRepository |
property |
core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php |
The entity repository. |
MenuLinkContent::$entityTypeManager |
property |
core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php |
The entity type manager. |
MenuLinkContent::$insidePlugin |
property |
core/modules/menu_link_content/src/Entity/MenuLinkContent.php |
A flag for whether this entity is wrapped in a plugin instance. |
MenuLinkContent::$languageManager |
property |
core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php |
The language manager. |
MenuLinkContent::$listBuilderOperations |
property |
core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php |
An array of entity operations links. |
MenuLinkContent::$overrideAllowed |
property |
core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php |
The list of definition values where an override is allowed. |
MenuLinkContent::baseFieldDefinitions |
function |
core/modules/menu_link_content/src/Entity/MenuLinkContent.php |
|
MenuLinkContent::create |
function |
core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php |
Creates an instance of the plugin. |
MenuLinkContent::deleteLink |
function |
core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php |
Deletes a menu link. |
MenuLinkContent::getDeleteRoute |
function |
core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php |
Returns route information for a route to delete the menu link. |
MenuLinkContent::getDescription |
function |
core/modules/menu_link_content/src/Entity/MenuLinkContent.php |
Gets the description of the menu link for the UI. |
MenuLinkContent::getDescription |
function |
core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php |
Returns the description of the menu link. |
MenuLinkContent::getEditRoute |
function |
core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php |
Returns route information for a custom edit form for the menu link. |
MenuLinkContent::getEntity |
function |
core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php |
Loads the entity associated with this menu link. |
MenuLinkContent::getListBuilderOperations |
function |
core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php |
Load entity operations from the list builder. |
MenuLinkContent::getMenuName |
function |
core/modules/menu_link_content/src/Entity/MenuLinkContent.php |
Gets the menu name of the custom menu link. |
MenuLinkContent::getOperations |
function |
core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php |
Provides an array of information to build a list of operation links. |