Provides an edit form for static menu links.
\Drupal\Core\Menu\MenuLinkDefault
Name | Modifiers | Type | Description |
---|---|---|---|
MenuLinkDefaultForm::$menuLink | protected | property | The edited menu link. |
MenuLinkDefaultForm::$menuLinkManager | protected | property | The menu link manager. |
MenuLinkDefaultForm::$menuParentSelector | protected | property | The parent form selector service. |
MenuLinkDefaultForm::$moduleData | protected | property | The module data from system_get_info(). |
MenuLinkDefaultForm::$moduleHandler | protected | property | The module handler service. |
MenuLinkDefaultForm::buildConfigurationForm | public | function | Form constructor. Overrides PluginFormInterface::buildConfigurationForm |
MenuLinkDefaultForm::create | public static | function | Instantiates a new instance of this class. Overrides ContainerInjectionInterface::create |
MenuLinkDefaultForm::extractFormValues | public | function | Extracts a plugin definition from form values. Overrides MenuLinkFormInterface::extractFormValues |
MenuLinkDefaultForm::setMenuLinkInstance | public | function | Injects the menu link plugin instance. Overrides MenuLinkFormInterface::setMenuLinkInstance |
MenuLinkDefaultForm::submitConfigurationForm | public | function | Form submission handler. Overrides PluginFormInterface::submitConfigurationForm |
MenuLinkDefaultForm::validateConfigurationForm | public | function | Form validation handler. Overrides PluginFormInterface::validateConfigurationForm |
MenuLinkDefaultForm::__construct | public | function | Constructs a new \Drupal\Core\Menu\Form\MenuLinkDefaultForm. |
StringTranslationTrait::$stringTranslation | protected | property | The string translation service. |
StringTranslationTrait::formatPlural | protected | function | Formats a string containing a count of items. |
StringTranslationTrait::getNumberOfPlurals | protected | function | Returns the number of plurals supported by a given language. |
StringTranslationTrait::getStringTranslation | protected | function | Gets the string translation service. |
StringTranslationTrait::setStringTranslation | public | function | Sets the string translation service to use. |
StringTranslationTrait::t | protected | function | Translates a string to the current language or to a given language. |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Menu!Form!MenuLinkDefaultForm.php/class/MenuLinkDefaultForm/8.1.x