You are here

protected function FormModeManagerFormBase::getConfig in Form mode manager 8.2

Retrieve the current class editable config name.

Return value

\Drupal\Core\Config\Config|\Drupal\Core\Config\ImmutableConfig The setting object.

1 call to FormModeManagerFormBase::getConfig()
FormModeManagerFormBase::__construct in src/Form/FormModeManagerFormBase.php
Constructs a CropWidgetForm object.

File

src/Form/FormModeManagerFormBase.php, line 116

Class

FormModeManagerFormBase
Base for implementing system configuration forms for Form Mode Manager.

Namespace

Drupal\form_mode_manager\Form

Code

protected function getConfig() {
  return $this
    ->config(current($this
    ->getEditableConfigNames()));
}