You are here

public function AccessControlHierarchyBase::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().

Overrides AccessControlHierarchyInterface::massageFormValues

1 method overrides AccessControlHierarchyBase::massageFormValues()
Taxonomy::massageFormValues in src/Plugin/AccessControlHierarchy/Taxonomy.php
Massage form values as appropriate during entity submit.

File

src/AccessControlHierarchyBase.php, line 294

Class

AccessControlHierarchyBase
Defines a base hierarchy class that others may extend.

Namespace

Drupal\workbench_access

Code

public function massageFormValues(ContentEntityInterface $entity, FormStateInterface $form_state, array $hidden_values) {

  // Null op.
}