function WorkspaceForm::getEditedFieldNames

Same name in other branches
  1. 9 core/modules/workspaces/src/Form/WorkspaceForm.php \Drupal\workspaces\Form\WorkspaceForm::getEditedFieldNames()
  2. 8.9.x core/modules/workspaces/src/Form/WorkspaceForm.php \Drupal\workspaces\Form\WorkspaceForm::getEditedFieldNames()
  3. 11.x core/modules/workspaces/src/Form/WorkspaceForm.php \Drupal\workspaces\Form\WorkspaceForm::getEditedFieldNames()

Overrides ContentEntityForm::getEditedFieldNames

File

core/modules/workspaces/src/Form/WorkspaceForm.php, line 73

Class

WorkspaceForm
Form controller for the workspace edit forms.

Namespace

Drupal\workspaces\Form

Code

protected function getEditedFieldNames(FormStateInterface $form_state) {
    return array_merge([
        'label',
        'id',
    ], parent::getEditedFieldNames($form_state));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.