You are here

protected function HoneypotSettingsController::getEditableConfigNames in Honeypot 8

Same name and namespace in other branches
  1. 2.0.x src/Controller/HoneypotSettingsController.php \Drupal\honeypot\Controller\HoneypotSettingsController::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/Controller/HoneypotSettingsController.php, line 115

Class

HoneypotSettingsController
Returns responses for Honeypot module routes.

Namespace

Drupal\honeypot\Controller

Code

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