Search for menu

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

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Menu class core/modules/system/src/Entity/Menu.php Defines the Menu configuration entity class.
Menu class core/modules/system/src/Plugin/migrate/source/Menu.php Menu source from database.

All search results

Title Object type File name Summary
MenuLinkDefaultForm::submitConfigurationForm function core/lib/Drupal/Core/Menu/Form/MenuLinkDefaultForm.php Form submission handler.
MenuLinkDefaultForm::validateConfigurationForm function core/lib/Drupal/Core/Menu/Form/MenuLinkDefaultForm.php Form validation handler.
MenuLinkDefaultForm::__construct function core/lib/Drupal/Core/Menu/Form/MenuLinkDefaultForm.php Constructs a new \Drupal\Core\Menu\Form\MenuLinkDefaultForm.
MenuLinkDefaultFormTest class core/tests/Drupal/Tests/Core/Menu/MenuLinkDefaultFormTest.php @coversDefaultClass \Drupal\Core\Menu\Form\MenuLinkDefaultForm
@group Menu
MenuLinkDefaultFormTest.php file core/tests/Drupal/Tests/Core/Menu/MenuLinkDefaultFormTest.php
MenuLinkDefaultFormTest::testExtractFormValues function core/tests/Drupal/Tests/Core/Menu/MenuLinkDefaultFormTest.php @covers ::extractFormValues
MenuLinkDefaultIntegrationTest class core/tests/Drupal/KernelTests/Core/Menu/MenuLinkDefaultIntegrationTest.php Tests integration of static menu links.
MenuLinkDefaultIntegrationTest.php file core/tests/Drupal/KernelTests/Core/Menu/MenuLinkDefaultIntegrationTest.php
MenuLinkDefaultIntegrationTest::$modules property core/tests/Drupal/KernelTests/Core/Menu/MenuLinkDefaultIntegrationTest.php Modules to enable.
MenuLinkDefaultIntegrationTest::testMoveToRoot function core/tests/Drupal/KernelTests/Core/Menu/MenuLinkDefaultIntegrationTest.php Tests moving a static menu link without a specified menu to the root.
MenuLinkDefaultTest class core/tests/Drupal/Tests/Core/Menu/MenuLinkDefaultTest.php @coversDefaultClass \Drupal\Core\Menu\MenuLinkDefault
@group Menu
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.

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