RedundantEditableConfigNamesTrait.php

Same filename and directory in other branches
  1. 10 core/lib/Drupal/Core/Form/RedundantEditableConfigNamesTrait.php

Namespace

Drupal\Core\Form

File

core/lib/Drupal/Core/Form/RedundantEditableConfigNamesTrait.php

View source
<?php

namespace Drupal\Core\Form;


/**
 * Implements ::getEditableConfigNames() for forms using #config_target.
 */
trait RedundantEditableConfigNamesTrait {
    use ConfigFormBaseTrait;
    
    /**
     * {@inheritdoc}
     */
    protected function getEditableConfigNames() {
        // This form uses #config_target instead.
        return [];
    }

}

Traits

Title Deprecated Summary
RedundantEditableConfigNamesTrait Implements ::getEditableConfigNames() for forms using #config_target.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.