function TermForm::getEditedFieldNames

Same name in other branches
  1. 8.9.x core/modules/taxonomy/src/TermForm.php \Drupal\taxonomy\TermForm::getEditedFieldNames()
  2. 10 core/modules/taxonomy/src/TermForm.php \Drupal\taxonomy\TermForm::getEditedFieldNames()
  3. 11.x core/modules/taxonomy/src/TermForm.php \Drupal\taxonomy\TermForm::getEditedFieldNames()

Overrides ContentEntityForm::getEditedFieldNames

File

core/modules/taxonomy/src/TermForm.php, line 163

Class

TermForm
Base for handler for taxonomy term edit forms.

Namespace

Drupal\taxonomy

Code

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

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