You are here

public function WorkflowStateListBuilder::addStateCallback in Workflow 8

Button 'Add State' callback.

Parameters

array $form:

\Drupal\Core\Form\FormStateInterface $form_state:

Return value

array

File

src/WorkflowStateListBuilder.php, line 385

Class

WorkflowStateListBuilder
Defines a class to build a draggable listing of Workflow State entities.

Namespace

Drupal\workflow

Code

public function addStateCallback(array &$form, FormStateInterface $form_state) {
  return $form['entities'];
}