You are here

protected function FormTestObject::getEditableConfigNames in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/modules/form_test/src/FormTestObject.php \Drupal\form_test\FormTestObject::getEditableConfigNames()
  2. 9 core/modules/system/tests/modules/form_test/src/FormTestObject.php \Drupal\form_test\FormTestObject::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

core/modules/system/tests/modules/form_test/src/FormTestObject.php, line 25

Class

FormTestObject
Provides a test form object.

Namespace

Drupal\form_test

Code

protected function getEditableConfigNames() {
  return [
    'form_test.object',
  ];
}