Search for link

  1. Search 7.x for link
  2. Search 9.5.x for link
  3. Search 10.3.x for link
  4. Search 11.x for link
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Link class core/modules/jsonapi/src/JsonApiResource/Link.php Represents an RFC8288 based link.
Link class core/lib/Drupal/Core/Render/Element/Link.php Provides a link render element.
Link class core/lib/Drupal/Core/Link.php Defines an object that holds information about a link.

All search results

Title Object type File name Summary
MenuLinkDefaultTest.php file core/tests/Drupal/Tests/Core/Menu/MenuLinkDefaultTest.php
MenuLinkDefaultTest::testUpdateLink function core/tests/Drupal/Tests/Core/Menu/MenuLinkDefaultTest.php @covers ::updateLink
MenuLinkDefaultTest::testUpdateLinkWithoutPersist function core/tests/Drupal/Tests/Core/Menu/MenuLinkDefaultTest.php @covers ::updateLink
MenuLinkEditForm class core/modules/menu_ui/src/Form/MenuLinkEditForm.php Defines a generic edit form for all menu link plugin types.
MenuLinkEditForm.php file core/modules/menu_ui/src/Form/MenuLinkEditForm.php
MenuLinkEditForm::$classResolver property core/modules/menu_ui/src/Form/MenuLinkEditForm.php The class resolver.
MenuLinkEditForm::buildForm function core/modules/menu_ui/src/Form/MenuLinkEditForm.php
MenuLinkEditForm::create function core/modules/menu_ui/src/Form/MenuLinkEditForm.php Instantiates a new instance of this class.
MenuLinkEditForm::getFormId function core/modules/menu_ui/src/Form/MenuLinkEditForm.php Returns a unique string identifying the form.
MenuLinkEditForm::submitForm function core/modules/menu_ui/src/Form/MenuLinkEditForm.php Form submission handler.
MenuLinkEditForm::validateForm function core/modules/menu_ui/src/Form/MenuLinkEditForm.php Form validation handler.
MenuLinkEditForm::__construct function core/modules/menu_ui/src/Form/MenuLinkEditForm.php Constructs a MenuLinkEditForm object.
MenuLinkFormInterface interface core/lib/Drupal/Core/Menu/Form/MenuLinkFormInterface.php Defines an interface for edit forms of menu links.
MenuLinkFormInterface.php file core/lib/Drupal/Core/Menu/Form/MenuLinkFormInterface.php
MenuLinkFormInterface::extractFormValues function core/lib/Drupal/Core/Menu/Form/MenuLinkFormInterface.php Extracts a plugin definition from form values.
MenuLinkFormInterface::setMenuLinkInstance function core/lib/Drupal/Core/Menu/Form/MenuLinkFormInterface.php Injects the menu link plugin instance.
MenuLinkInterface interface core/lib/Drupal/Core/Menu/MenuLinkInterface.php Defines an interface for classes providing a type of menu link.
MenuLinkInterface.php file core/lib/Drupal/Core/Menu/MenuLinkInterface.php
MenuLinkInterface::deleteLink function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Deletes a menu link.
MenuLinkInterface::getDeleteRoute function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns route information for a route to delete the menu link.
MenuLinkInterface::getDescription function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns the description of the menu link.
MenuLinkInterface::getEditRoute function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns route information for a custom edit form for the menu link.
MenuLinkInterface::getFormClass function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns the name of a class that can build an editing form for this link.
MenuLinkInterface::getMenuName function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns the menu name of the menu link.
MenuLinkInterface::getMetaData function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns any metadata for this link.
MenuLinkInterface::getOptions function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns the options for this link.
MenuLinkInterface::getParent function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns the plugin ID of the menu link's parent, or an empty string.
MenuLinkInterface::getProvider function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns the provider (module name) of the menu link.
MenuLinkInterface::getRouteName function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns the route name, if available.
MenuLinkInterface::getRouteParameters function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns the route parameters, if available.
MenuLinkInterface::getTitle function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns the localized title to be shown for this link.
MenuLinkInterface::getTranslateRoute function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns route information for a route to translate the menu link.
MenuLinkInterface::getUrlObject function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns a URL object containing either the external path or route.
MenuLinkInterface::getWeight function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns the weight of the menu link.
MenuLinkInterface::isDeletable function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns whether this link can be deleted.
MenuLinkInterface::isEnabled function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns whether the menu link is enabled (not hidden).
MenuLinkInterface::isExpanded function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns whether the child menu links should always been shown.
MenuLinkInterface::isResettable function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns whether this link can be reset.
MenuLinkInterface::isTranslatable function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns whether this link can be translated.
MenuLinkInterface::updateLink function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Updates the definition values for a menu link.
MenuLinkManager class core/lib/Drupal/Core/Menu/MenuLinkManager.php Manages discovery, instantiation, and tree building of menu link plugins.
MenuLinkManager.php file core/lib/Drupal/Core/Menu/MenuLinkManager.php
MenuLinkManager::$defaults property core/lib/Drupal/Core/Menu/MenuLinkManager.php Provides some default values for the definition of all menu link plugins.
MenuLinkManager::$discovery property core/lib/Drupal/Core/Menu/MenuLinkManager.php The object that discovers plugins managed by this manager.
MenuLinkManager::$factory property core/lib/Drupal/Core/Menu/MenuLinkManager.php The object that instantiates plugins managed by this manager.
MenuLinkManager::$moduleHandler property core/lib/Drupal/Core/Menu/MenuLinkManager.php The module handler.
MenuLinkManager::$overrides property core/lib/Drupal/Core/Menu/MenuLinkManager.php Service providing overrides for static links.
MenuLinkManager::$treeStorage property core/lib/Drupal/Core/Menu/MenuLinkManager.php The menu link tree storage.
MenuLinkManager::addDefinition function core/lib/Drupal/Core/Menu/MenuLinkManager.php Adds a new menu link definition to the menu tree storage.
MenuLinkManager::countMenuLinks function core/lib/Drupal/Core/Menu/MenuLinkManager.php Counts the total number of menu links.

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