MenuLinkFormInterface::extractFormValues

public MenuLinkFormInterface::extractFormValues(array &$form, FormStateInterface $form_state)

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\Form

Code

public function extractFormValues(array &$form, FormStateInterface $form_state);
doc_Drupal
2016-10-29 09:26:57
Comments
Leave a Comment

Please login to continue.