protected function ConfigContentTypes::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/ ConfigContentTypes.php, line 69
Class
- ConfigContentTypes
- Class ConfigContentTypes.
Namespace
Drupal\onlyone\FormCode
protected function getEditableConfigNames() {
return [
'onlyone.settings',
];
}