public function AccessControlHierarchyInterface::massageFormValues in Workbench Access 8
Massage form values as appropriate during entity submit.
This method is invoked by submitEntity() to save items passed by the disallowedOptions() method.
Parameters
\Drupal\Core\Entity\ContentEntityInterface $entity: Entity being edited.
\Drupal\Core\Form\FormStateInterface $form_state: Form state.
array $hidden_values: Hidden values passed by the form, generally from disallowedOptions().
1 method overrides AccessControlHierarchyInterface::massageFormValues()
- AccessControlHierarchyBase::massageFormValues in src/
AccessControlHierarchyBase.php - Massage form values as appropriate during entity submit.
File
- src/
AccessControlHierarchyInterface.php, line 206
Class
- AccessControlHierarchyInterface
- Defines a base hierarchy class that others may extend.
Namespace
Drupal\workbench_accessCode
public function massageFormValues(ContentEntityInterface $entity, FormStateInterface $form_state, array $hidden_values);