You are here

protected function CronExampleForm::getEditableConfigNames in Examples for Developers 8

Same name and namespace in other branches
  1. 3.x modules/cron_example/src/Form/CronExampleForm.php \Drupal\cron_example\Form\CronExampleForm::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

cron_example/src/Form/CronExampleForm.php, line 252

Class

CronExampleForm
Form with examples on how to use cron.

Namespace

Drupal\cron_example\Form

Code

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