function MenuLinkFormInterface::extractFormValues
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Menu/Form/MenuLinkFormInterface.php \Drupal\Core\Menu\Form\MenuLinkFormInterface::extractFormValues()
- 10 core/lib/Drupal/Core/Menu/Form/MenuLinkFormInterface.php \Drupal\Core\Menu\Form\MenuLinkFormInterface::extractFormValues()
- 8.9.x core/lib/Drupal/Core/Menu/Form/MenuLinkFormInterface.php \Drupal\Core\Menu\Form\MenuLinkFormInterface::extractFormValues()
Extracts a plugin definition from form values.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Return value
array The new plugin definition values taken from the form values. The plugin ID must be returned as part of the definition.
File
-
core/
lib/ Drupal/ Core/ Menu/ Form/ MenuLinkFormInterface.php, line 39
Class
- MenuLinkFormInterface
- Defines an interface for edit forms of menu links.
Namespace
Drupal\Core\Menu\FormCode
public function extractFormValues(array &$form, FormStateInterface $form_state);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.