You are here

public function StateTransitionForm::setFieldName in State Machine 8

Sets the state field name.

Parameters

string $field_name: The state field name.

Return value

$this

Overrides StateTransitionFormInterface::setFieldName

File

src/Form/StateTransitionForm.php, line 51

Class

StateTransitionForm

Namespace

Drupal\state_machine\Form

Code

public function setFieldName($field_name) {
  $this->fieldName = $field_name;
  return $this;
}