interface MenuLinkFormInterface

Defines an interface for edit forms of menu links.

All menu link plugins use the same interface for their configuration or editing form, but the implementations may differ.

Hierarchy

See also

\Drupal\Core\Menu\MenuLinkInterface::getFormClass()

File

core/lib/Drupal/Core/Menu/Form/MenuLinkFormInterface.php, line 17

Namespace

Drupal\Core\Menu\Form

Members

Name Modifiers Type Description
MenuLinkFormInterface::extractFormValues public function Extracts a plugin definition from form values.
MenuLinkFormInterface::setMenuLinkInstance public function Injects the menu link plugin instance.
PluginFormInterface::buildConfigurationForm public function Form constructor.
PluginFormInterface::submitConfigurationForm public function Form submission handler.
PluginFormInterface::validateConfigurationForm public function Form validation handler.

© 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!MenuLinkFormInterface.php/interface/MenuLinkFormInterface/8.1.x