function TreeConfigTargetForm::getEditableConfigNames
Same name and namespace in other branches
- 11.x core/modules/system/tests/modules/form_test/src/Form/TreeConfigTargetForm.php \Drupal\form_test\Form\TreeConfigTargetForm::getEditableConfigNames()
- 10 core/modules/system/tests/modules/form_test/src/Form/TreeConfigTargetForm.php \Drupal\form_test\Form\TreeConfigTargetForm::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
1 method overrides TreeConfigTargetForm::getEditableConfigNames()
- NestedConfigTargetForm::getEditableConfigNames in core/
modules/ system/ tests/ modules/ form_test/ src/ Form/ NestedConfigTargetForm.php - Gets the configuration names that will be editable.
File
-
core/
modules/ system/ tests/ modules/ form_test/ src/ Form/ TreeConfigTargetForm.php, line 18
Class
- TreeConfigTargetForm
- Provides a form for configuring preferences and dynamically updating select list options via AJAX.
Namespace
Drupal\form_test\FormCode
protected function getEditableConfigNames() {
return [
'form_test.object',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.