You are here

protected function OnlyOneAdminSettings::getEditableConfigNames in Allow a content type only once (Only One) 8

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/OnlyOneAdminSettings.php, line 57

Class

OnlyOneAdminSettings
Class OnlyOneAdminSettings.

Namespace

Drupal\onlyone\Form

Code

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