You are here

public static function SimpleActions::processActions in Entity reference actions 1.x

Processes a form actions container element.

Parameters

array $element: An associative array containing the properties and children of the form actions container.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

array $complete_form: The complete form structure.

Return value

array The processed element.

Overrides Actions::processActions

File

src/Element/SimpleActions.php, line 19

Class

SimpleActions
Action element without primary classes.

Namespace

Drupal\entity_reference_actions\Element

Code

public static function processActions(&$element, FormStateInterface $form_state, &$complete_form) {
  return $element;
}