function TreeConfigTargetForm::getEditableConfigNames

Same name and namespace in other branches
  1. 11.x 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 13

Class

TreeConfigTargetForm

Namespace

Drupal\form_test\Form

Code

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.