You are here

public static function AccessControlHierarchyInterface::submitEntity in Workbench Access 8

Responds to the submission of an entity form.

If the entity contains section values that the user cannot change, they are passed in the 'workbench_access_disallowed' field on the form. Plugins should examine that value and make modifications to their target field as necessary.

A default implementation is provided which only supports nodes.

Parameters

array &$form: A form array.

\Drupal\Core\Form\FormStateInterface $form_state: The form_state object.

1 method overrides AccessControlHierarchyInterface::submitEntity()
AccessControlHierarchyBase::submitEntity in src/AccessControlHierarchyBase.php
Responds to the submission of an entity form.

File

src/AccessControlHierarchyInterface.php, line 191

Class

AccessControlHierarchyInterface
Defines a base hierarchy class that others may extend.

Namespace

Drupal\workbench_access

Code

public static function submitEntity(array &$form, FormStateInterface $form_state);