function CommentForm::getEditedFieldNames

Same name in other branches
  1. 9 core/modules/comment/src/CommentForm.php \Drupal\comment\CommentForm::getEditedFieldNames()
  2. 8.9.x core/modules/comment/src/CommentForm.php \Drupal\comment\CommentForm::getEditedFieldNames()
  3. 10 core/modules/comment/src/CommentForm.php \Drupal\comment\CommentForm::getEditedFieldNames()

Overrides ContentEntityForm::getEditedFieldNames

File

core/modules/comment/src/CommentForm.php, line 344

Class

CommentForm
Base handler for comment forms.

Namespace

Drupal\comment

Code

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

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