You are here

protected function FieldDeleteForm::getEditableConfigNames in Display Suite 8.4

Same name and namespace in other branches
  1. 8.2 src/Form/FieldDeleteForm.php \Drupal\ds\Form\FieldDeleteForm::getEditableConfigNames()
  2. 8.3 src/Form/FieldDeleteForm.php \Drupal\ds\Form\FieldDeleteForm::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

src/Form/FieldDeleteForm.php, line 111

Class

FieldDeleteForm
Provides a form to delete a DS field.

Namespace

Drupal\ds\Form

Code

protected function getEditableConfigNames() {
  if ($this->field) {
    return [
      'ds.field.' . $this->field['id'],
    ];
  }
  return [];
}