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. |
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. |
MenuLinkContent::updateLink |
function |
core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php |
Updates the definition values for a menu link. |
MenuLinkContent::__construct |
function |
core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php |
Constructs a new MenuLinkContent. |
MenuLinkContentAccessControlHandler |
class |
core/modules/menu_link_content/src/MenuLinkContentAccessControlHandler.php |
Defines the access control handler for the menu link content entity type. |
MenuLinkContentAccessControlHandler.php |
file |
core/modules/menu_link_content/src/MenuLinkContentAccessControlHandler.php |
|
MenuLinkContentAccessControlHandler::$accessManager |
property |
core/modules/menu_link_content/src/MenuLinkContentAccessControlHandler.php |
The access manager to check routes by name. |
MenuLinkContentAccessControlHandler::checkAccess |
function |
core/modules/menu_link_content/src/MenuLinkContentAccessControlHandler.php |
Performs access checks. |
MenuLinkContentAccessControlHandler::createInstance |
function |
core/modules/menu_link_content/src/MenuLinkContentAccessControlHandler.php |
Instantiates a new instance of this entity handler. |
MenuLinkContentAccessControlHandler::__construct |
function |
core/modules/menu_link_content/src/MenuLinkContentAccessControlHandler.php |
Creates a new MenuLinkContentAccessControlHandler. |
MenuLinkContentCacheabilityBubblingTest |
class |
core/modules/menu_link_content/tests/src/Kernel/MenuLinkContentCacheabilityBubblingTest.php |
Ensures that rendered menu links bubble the necessary bubbleable metadata. |
MenuLinkContentCacheabilityBubblingTest.php |
file |
core/modules/menu_link_content/tests/src/Kernel/MenuLinkContentCacheabilityBubblingTest.php |
|
MenuLinkContentCacheabilityBubblingTest::$modules |
property |
core/modules/menu_link_content/tests/src/Kernel/MenuLinkContentCacheabilityBubblingTest.php |
Modules to install. |
MenuLinkContentCacheabilityBubblingTest::setUp |
function |
core/modules/menu_link_content/tests/src/Kernel/MenuLinkContentCacheabilityBubblingTest.php |
|
MenuLinkContentCacheabilityBubblingTest::testOutboundPathAndRouteProcessing |
function |
core/modules/menu_link_content/tests/src/Kernel/MenuLinkContentCacheabilityBubblingTest.php |
Tests bubbleable metadata of menu links' outbound route/path processing. |