public static function DomainElementManagerInterface::submitEntityForm in Domain Access 8
Submit function for handling hidden values from a form.
On form submit, loop through the hidden form values and add those to the entity being saved.
No return value. Hidden values are added to the field values directly.
Parameters
array $form: The form array.
\Drupal\Core\Form\FormStateInterface $form_state: The form state object.
1 method overrides DomainElementManagerInterface::submitEntityForm()
- DomainElementManager::submitEntityForm in domain/
src/ DomainElementManager.php - Submit function for handling hidden values from a form.
File
- domain/
src/ DomainElementManagerInterface.php, line 53
Class
- DomainElementManagerInterface
- Handles hidden field options for domain entity references.
Namespace
Drupal\domainCode
public static function submitEntityForm(array &$form, FormStateInterface $form_state);