protected function StickynavSettingsForm::getEditableConfigNames in Sticky Navigation 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/ StickynavSettingsForm.php, line 25
Class
- StickynavSettingsForm
- Build Sticky Navigation settings form.
Namespace
Drupal\stickynav\FormCode
protected function getEditableConfigNames() {
return [
'stickynav.settings.' . $this
->getRequest()->attributes
->get('theme'),
];
}