Search for interface

  1. Search 7.x for interface
  2. Search 8.9.x for interface
  3. Search 10.3.x for interface
  4. Search 11.x for interface
  5. Other projects
Title Object type File name Summary
MemoryCacheInterface interface core/lib/Drupal/Core/Cache/MemoryCache/MemoryCacheInterface.php Defines an interface for memory cache implementations.
MemoryCacheInterface.php file core/lib/Drupal/Core/Cache/MemoryCache/MemoryCacheInterface.php
MenuActiveTrailInterface interface core/lib/Drupal/Core/Menu/MenuActiveTrailInterface.php Defines an interface for the active menu trail service.
MenuActiveTrailInterface.php file core/lib/Drupal/Core/Menu/MenuActiveTrailInterface.php
MenuActiveTrailInterface::getActiveLink function core/lib/Drupal/Core/Menu/MenuActiveTrailInterface.php Fetches a menu link which matches the route name, parameters and menu name.
MenuActiveTrailInterface::getActiveTrailIds function core/lib/Drupal/Core/Menu/MenuActiveTrailInterface.php Gets the active trail IDs of the specified menu tree.
MenuInterface interface core/modules/system/src/MenuInterface.php Provides an interface defining a menu entity.
MenuInterface.php file core/modules/system/src/MenuInterface.php
MenuInterface::getDescription function core/modules/system/src/MenuInterface.php Returns the description of the menu.
MenuInterface::isLocked function core/modules/system/src/MenuInterface.php Determines if this menu is locked.
MenuLinkContentInterface interface core/modules/menu_link_content/src/MenuLinkContentInterface.php Defines an interface for custom menu links.
MenuLinkContentInterface.php file core/modules/menu_link_content/src/MenuLinkContentInterface.php
MenuLinkContentInterface::getDescription function core/modules/menu_link_content/src/MenuLinkContentInterface.php Gets the description of the menu link for the UI.
MenuLinkContentInterface::getMenuName function core/modules/menu_link_content/src/MenuLinkContentInterface.php Gets the menu name of the custom menu link.
MenuLinkContentInterface::getParentId function core/modules/menu_link_content/src/MenuLinkContentInterface.php Gets the plugin ID of the parent menu link.
MenuLinkContentInterface::getPluginDefinition function core/modules/menu_link_content/src/MenuLinkContentInterface.php Builds up the menu link plugin definition for this entity.
MenuLinkContentInterface::getPluginId function core/modules/menu_link_content/src/MenuLinkContentInterface.php Gets the menu plugin ID associated with this entity.
MenuLinkContentInterface::getTitle function core/modules/menu_link_content/src/MenuLinkContentInterface.php Gets the title of the menu link.
MenuLinkContentInterface::getUrlObject function core/modules/menu_link_content/src/MenuLinkContentInterface.php Gets the url object pointing to the URL of the menu link content entity.
MenuLinkContentInterface::getWeight function core/modules/menu_link_content/src/MenuLinkContentInterface.php Returns the weight of the menu link content entity.
MenuLinkContentInterface::isEnabled function core/modules/menu_link_content/src/MenuLinkContentInterface.php Returns whether the menu link is marked as enabled.
MenuLinkContentInterface::isExpanded function core/modules/menu_link_content/src/MenuLinkContentInterface.php Returns whether the menu link is marked as always expanded.
MenuLinkContentInterface::requiresRediscovery function core/modules/menu_link_content/src/MenuLinkContentInterface.php Returns whether the menu link requires rediscovery.
MenuLinkContentInterface::setInsidePlugin function core/modules/menu_link_content/src/MenuLinkContentInterface.php Flags this instance as being wrapped in a menu link plugin instance.
MenuLinkContentInterface::setRequiresRediscovery function core/modules/menu_link_content/src/MenuLinkContentInterface.php Flags a link as requiring rediscovery.
MenuLinkContentStorageInterface interface core/modules/menu_link_content/src/MenuLinkContentStorageInterface.php Defines an interface for menu_link_content entity storage classes.
MenuLinkContentStorageInterface.php file core/modules/menu_link_content/src/MenuLinkContentStorageInterface.php
MenuLinkContentStorageInterface::getMenuLinkIdsWithPendingRevisions function core/modules/menu_link_content/src/MenuLinkContentStorageInterface.php Gets a list of menu link IDs with pending revisions.
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.

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