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::$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::getMenuName |
function |
core/modules/menu_link_content/src/Entity/MenuLinkContent.php |
Gets the menu name of the custom menu link. |
MenuLinkContent::getParentId |
function |
core/modules/menu_link_content/src/Entity/MenuLinkContent.php |
Gets the plugin ID of the parent menu link. |
MenuLinkContent::getPluginDefinition |
function |
core/modules/menu_link_content/src/Entity/MenuLinkContent.php |
Builds up the menu link plugin definition for this entity. |
MenuLinkContent::getPluginId |
function |
core/modules/menu_link_content/src/Entity/MenuLinkContent.php |
Gets the menu plugin ID associated with this entity. |
MenuLinkContent::getTitle |
function |
core/modules/menu_link_content/src/Entity/MenuLinkContent.php |
Gets the title of the menu link. |
MenuLinkContent::getTitle |
function |
core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php |
Returns the localized title to be shown for this link. |
MenuLinkContent::getTranslateRoute |
function |
core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php |
Returns route information for a route to translate the menu link. |
MenuLinkContent::getUrlObject |
function |
core/modules/menu_link_content/src/Entity/MenuLinkContent.php |
Gets the url object pointing to the URL of the menu link content entity. |
MenuLinkContent::getUuid |
function |
core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php |
Returns the unique ID representing the menu link. |
MenuLinkContent::getWeight |
function |
core/modules/menu_link_content/src/Entity/MenuLinkContent.php |
Returns the weight of the menu link content entity. |
MenuLinkContent::isDeletable |
function |
core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php |
Returns whether this link can be deleted. |
MenuLinkContent::isEnabled |
function |
core/modules/menu_link_content/src/Entity/MenuLinkContent.php |
Returns whether the menu link is marked as enabled. |
MenuLinkContent::isExpanded |
function |
core/modules/menu_link_content/src/Entity/MenuLinkContent.php |
Returns whether the menu link is marked as always expanded. |
MenuLinkContent::isTranslatable |
function |
core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php |
Returns whether this link can be translated. |
MenuLinkContent::postSave |
function |
core/modules/menu_link_content/src/Entity/MenuLinkContent.php |
Acts on a saved entity before the insert or update hook is invoked. |
MenuLinkContent::preCreate |
function |
core/modules/menu_link_content/src/Entity/MenuLinkContent.php |
Changes the values of an entity before it is created. |
MenuLinkContent::preDelete |
function |
core/modules/menu_link_content/src/Entity/MenuLinkContent.php |
Acts on entities before they are deleted and before hooks are invoked. |
MenuLinkContent::preSave |
function |
core/modules/menu_link_content/src/Entity/MenuLinkContent.php |
Acts on an entity before the presave hook is invoked. |
MenuLinkContent::requiresRediscovery |
function |
core/modules/menu_link_content/src/Entity/MenuLinkContent.php |
Returns whether the menu link requires rediscovery. |
MenuLinkContent::setInsidePlugin |
function |
core/modules/menu_link_content/src/Entity/MenuLinkContent.php |
Flags this instance as being wrapped in a menu link plugin instance. |
MenuLinkContent::setRequiresRediscovery |
function |
core/modules/menu_link_content/src/Entity/MenuLinkContent.php |
Flags a link as requiring rediscovery. |