You are here

protected function ContactFormEditForm::getEditableConfigNames in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/contact/src/ContactFormEditForm.php \Drupal\contact\ContactFormEditForm::getEditableConfigNames()
  2. 10 core/modules/contact/src/ContactFormEditForm.php \Drupal\contact\ContactFormEditForm::getEditableConfigNames()

Gets the configuration names that will be editable.

Return value

array An array of configuration object names that are editable if called in conjunction with the trait's config() method.

Overrides ConfigFormBaseTrait::getEditableConfigNames

File

core/modules/contact/src/ContactFormEditForm.php, line 63

Class

ContactFormEditForm
Base form for contact form edit forms.

Namespace

Drupal\contact

Code

protected function getEditableConfigNames() {
  return [
    'contact.settings',
  ];
}