1. 8.5.x core/lib/Drupal/Core/Form/FormBase.php FormBase::configFactory
  2. 8.0.x core/lib/Drupal/Core/Form/FormBase.php FormBase::configFactory
  3. 8.1.x core/lib/Drupal/Core/Form/FormBase.php FormBase::configFactory
  4. 8.2.x core/lib/Drupal/Core/Form/FormBase.php FormBase::configFactory
  5. 8.3.x core/lib/Drupal/Core/Form/FormBase.php FormBase::configFactory
  6. 8.4.x core/lib/Drupal/Core/Form/FormBase.php FormBase::configFactory
  7. 8.6.x core/lib/Drupal/Core/Form/FormBase.php FormBase::configFactory

The config factory.

Subclasses should use the self::config() method, which may be overridden to address specific needs when loading config, rather than this property directly. See \Drupal\Core\Form\ConfigFormBase::config() for an example of this.

Type: \Drupal\Core\Config\ConfigFactoryInterface

File

core/lib/Drupal/Core/Form/FormBase.php, line 69

Class

FormBase
Provides a base class for forms.

Namespace

Drupal\Core\Form

Code

protected $configFactory;