function WorkflowStateEditForm::buildForm
Overrides EntityForm::buildForm
File
-
core/
modules/ workflows/ src/ Form/ WorkflowStateEditForm.php, line 64
Class
- WorkflowStateEditForm
- Entity form variant for editing workflow states.
Namespace
Drupal\workflows\FormCode
public function buildForm(array $form, FormStateInterface $form_state, $workflow_state = NULL) {
$this->stateId = $workflow_state;
return parent::buildForm($form, $form_state);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.