You are here

protected function StockEnforcementConfigForm::getEditableConfigNames in Commerce Stock 8

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

modules/enforcement/src/Form/StockEnforcementConfigForm.php, line 102

Class

StockEnforcementConfigForm
The stock enforcement configuration form.

Namespace

Drupal\commerce_stock_enforcement\Form

Code

protected function getEditableConfigNames() {
  return [
    'commerce_stock_enforcement.settings',
  ];
}