MenuLinkManagerInterface::resetDefinitions |
function |
core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php |
Resets any local definition cache. Used for testing. |
MenuLinkManagerInterface::resetLink |
function |
core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php |
Resets the values for a menu link based on the values found by discovery. |
MenuLinkManagerInterface::updateDefinition |
function |
core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php |
Updates the values for a menu link definition in the menu tree storage. |
MenuLinkMock |
class |
core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php |
Defines a mock implementation of a menu link used in tests only. |
MenuLinkMock.php |
file |
core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php |
|
MenuLinkMock::$defaults |
property |
core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php |
|
MenuLinkMock::create |
function |
core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php |
Create an instance from a definition with at least id, title, route_name. |
MenuLinkMock::getCacheContexts |
function |
core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php |
The cache contexts associated with this object. |
MenuLinkMock::getCacheMaxAge |
function |
core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php |
The maximum age for which this object may be cached. |
MenuLinkMock::getCacheTags |
function |
core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php |
The cache tags associated with this object. |
MenuLinkMock::getDescription |
function |
core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php |
Returns the description of the menu link. |
MenuLinkMock::getTitle |
function |
core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php |
Returns the localized title to be shown for this link. |
MenuLinkMock::updateLink |
function |
core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php |
Updates the definition values for a menu link. |
MenuLinkParent |
class |
core/modules/migrate/src/Plugin/migrate/process/MenuLinkParent.php |
Determines the parent of a menu link. |
MenuLinkParent.php |
file |
core/modules/migrate/src/Plugin/migrate/process/MenuLinkParent.php |
|
MenuLinkParent::$menuLinkManager |
property |
core/modules/migrate/src/Plugin/migrate/process/MenuLinkParent.php |
The menu link plugin manager. |
MenuLinkParent::$menuLinkStorage |
property |
core/modules/migrate/src/Plugin/migrate/process/MenuLinkParent.php |
The menu link entity storage handler. |
MenuLinkParent::$migrateLookup |
property |
core/modules/migrate/src/Plugin/migrate/process/MenuLinkParent.php |
The migrate lookup service. |
MenuLinkParent::$migration |
property |
core/modules/migrate/src/Plugin/migrate/process/MenuLinkParent.php |
The currently running migration. |
MenuLinkParent::create |
function |
core/modules/migrate/src/Plugin/migrate/process/MenuLinkParent.php |
Creates an instance of the plugin. |
MenuLinkParent::transform |
function |
core/modules/migrate/src/Plugin/migrate/process/MenuLinkParent.php |
Find the parent link GUID. |
MenuLinkParent::__construct |
function |
core/modules/migrate/src/Plugin/migrate/process/MenuLinkParent.php |
Constructs a MenuLinkParent object. |
MenuLinkParentTest |
class |
core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php |
Tests the menu link parent process plugin. |
MenuLinkParentTest.php |
file |
core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php |
|
MenuLinkParentTest::$menuLinkManager |
property |
core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php |
The menu link plugin manager. |
MenuLinkParentTest::$menuLinkStorage |
property |
core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php |
The menu link entity storage handler. |
MenuLinkParentTest::$migrateLookup |
property |
core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php |
A MigrateLookupInterface prophecy. |
MenuLinkParentTest::$migration |
property |
core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php |
A MigrationInterface prophecy. |
MenuLinkParentTest::$pathValidator |
property |
core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php |
A Path validator prophecy. |
MenuLinkParentTest::doTransform |
function |
core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php |
Helper to finish setup and run the test. |
MenuLinkParentTest::providerMenuLinkParent |
function |
core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php |
Provides data for testMenuLinkParent(). |
MenuLinkParentTest::providerTransformException |
function |
core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php |
Provides data for testTransformException(). |
MenuLinkParentTest::setUp |
function |
core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php |
|
MenuLinkParentTest::testMenuLinkParent |
function |
core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php |
Tests the menu link content process plugin. |
MenuLinkParentTest::testTransformException |
function |
core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php |
Tests that an exception is thrown when the parent menu link is not found. |
MenuLinkPluginConverter |
class |
core/lib/Drupal/Core/ProxyClass/ParamConverter/MenuLinkPluginConverter.php |
Provides a proxy class for \Drupal\Core\ParamConverter\MenuLinkPluginConverter. |
MenuLinkPluginConverter |
class |
core/lib/Drupal/Core/ParamConverter/MenuLinkPluginConverter.php |
Parameter converter for upcasting entity ids to full objects. |
MenuLinkPluginConverter.php |
file |
core/lib/Drupal/Core/ProxyClass/ParamConverter/MenuLinkPluginConverter.php |
|
MenuLinkPluginConverter.php |
file |
core/lib/Drupal/Core/ParamConverter/MenuLinkPluginConverter.php |
|
MenuLinkPluginConverter::$container |
property |
core/lib/Drupal/Core/ProxyClass/ParamConverter/MenuLinkPluginConverter.php |
The service container. |
MenuLinkPluginConverter::$drupalProxyOriginalServiceId |
property |
core/lib/Drupal/Core/ProxyClass/ParamConverter/MenuLinkPluginConverter.php |
The id of the original proxied service. |
MenuLinkPluginConverter::$menuLinkManager |
property |
core/lib/Drupal/Core/ParamConverter/MenuLinkPluginConverter.php |
Plugin manager which creates the instance from the value. |
MenuLinkPluginConverter::$service |
property |
core/lib/Drupal/Core/ProxyClass/ParamConverter/MenuLinkPluginConverter.php |
The real proxied service, after it was lazy loaded. |
MenuLinkPluginConverter::applies |
function |
core/lib/Drupal/Core/ProxyClass/ParamConverter/MenuLinkPluginConverter.php |
Determines if the converter applies to a specific route and variable. |
MenuLinkPluginConverter::applies |
function |
core/lib/Drupal/Core/ParamConverter/MenuLinkPluginConverter.php |
Determines if the converter applies to a specific route and variable. |
MenuLinkPluginConverter::convert |
function |
core/lib/Drupal/Core/ProxyClass/ParamConverter/MenuLinkPluginConverter.php |
Converts path variables to their corresponding objects. |
MenuLinkPluginConverter::convert |
function |
core/lib/Drupal/Core/ParamConverter/MenuLinkPluginConverter.php |
Converts path variables to their corresponding objects. |
MenuLinkPluginConverter::lazyLoadItself |
function |
core/lib/Drupal/Core/ProxyClass/ParamConverter/MenuLinkPluginConverter.php |
Lazy loads the real service from the container. |
MenuLinkPluginConverter::__construct |
function |
core/lib/Drupal/Core/ProxyClass/ParamConverter/MenuLinkPluginConverter.php |
Constructs a ProxyClass Drupal proxy object. |
MenuLinkPluginConverter::__construct |
function |
core/lib/Drupal/Core/ParamConverter/MenuLinkPluginConverter.php |
Constructs a new MenuLinkPluginConverter. |