You are here

protected function AmpSettingsForm::getEditableConfigNames in Accelerated Mobile Pages (AMP) 8.3

Same name and namespace in other branches
  1. 8 src/Form/AmpSettingsForm.php \Drupal\amp\Form\AmpSettingsForm::getEditableConfigNames()
  2. 8.2 src/Form/AmpSettingsForm.php \Drupal\amp\Form\AmpSettingsForm::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

src/Form/AmpSettingsForm.php, line 57

Class

AmpSettingsForm
Defines the configuration export form.

Namespace

Drupal\amp\Form

Code

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