W3cubDocs

/Drupal 8

protected property 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 67

Class

FormBase
Provides a base class for forms.

Namespace

Drupal\Core\Form

Code

protected $configFactory;

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Form!FormBase.php/property/FormBase::configFactory/8.1.x