public function MenuLinkFormInterface::extractFormValues in Drupal 9
Same name and namespace in other branches
- 8 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.
1 method overrides MenuLinkFormInterface::extractFormValues()
- MenuLinkDefaultForm::extractFormValues in core/
lib/ Drupal/ Core/ Menu/ Form/ MenuLinkDefaultForm.php - Extracts a plugin definition from form values.
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);