You are here

protected function MediaSettingsForm::getEditableConfigNames in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/media/src/Form/MediaSettingsForm.php \Drupal\media\Form\MediaSettingsForm::getEditableConfigNames()
  2. 10 core/modules/media/src/Form/MediaSettingsForm.php \Drupal\media\Form\MediaSettingsForm::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/media/src/Form/MediaSettingsForm.php, line 70

Class

MediaSettingsForm
Provides a form to configure Media settings.

Namespace

Drupal\media\Form

Code

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