Search for _link

  1. Search 7.x for _link
  2. Search 9.5.x for _link
  3. Search 8.9.x for _link
  4. Search 10.3.x for _link
  5. Search 11.x for _link
  6. Other projects
Title Object type File name Summary
MenuLinkManagerInterface.php file core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php
MenuLinkManagerInterface::addDefinition function core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php Adds a new menu link definition to the menu tree storage.
MenuLinkManagerInterface::countMenuLinks function core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php Counts the total number of menu links.
MenuLinkManagerInterface::deleteLinksInMenu function core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php Deletes all links having a certain menu name.
MenuLinkManagerInterface::getChildIds function core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php Loads all child link IDs of a given menu link, regardless of visibility.
MenuLinkManagerInterface::getParentIds function core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php Loads all parent link IDs of a given menu link.
MenuLinkManagerInterface::loadLinksByRoute function core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php Loads multiple plugin instances based on route.
MenuLinkManagerInterface::menuNameInUse function core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php Determines if any links use a given menu name.
MenuLinkManagerInterface::rebuild function core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php Triggers discovery, save, and cleanup of discovered links.
MenuLinkManagerInterface::removeDefinition function core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php Removes a single link definition from the menu tree storage.
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 The default configuration for the test menu link.
MenuLinkMock::createMock 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
MenuLinkMock::getCacheMaxAge function core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php
MenuLinkMock::getCacheTags function core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php
MenuLinkMock::getDescription function core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php
MenuLinkMock::getTitle function core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php
MenuLinkMock::updateLink function core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php
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::$lookupMigrations property core/modules/migrate/src/Plugin/migrate/process/MenuLinkParent.php The migration IDs to use for looking up the parent link.
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
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::providerConstructorException function core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php Provides data for testConstructorException().
MenuLinkParentTest::providerLookupMigrations function core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php Provides data for testLookupMigrations().
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::testConstructorException function core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php Tests that an exception is thrown for invalid options.
MenuLinkParentTest::testLookupMigrations function core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php Tests the lookup_migrations option.
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.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.