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
Namespace
Drupal\state_machine\FormCode
public function setFieldName($field_name) {
$this->fieldName = $field_name;
return $this;
}