FormBase::$configFactory
Same name in other branches
- 9 core/lib/Drupal/Core/Form/FormBase.php \Drupal\Core\Form\FormBase::configFactory
- 10 core/lib/Drupal/Core/Form/FormBase.php \Drupal\Core\Form\FormBase::configFactory
- 11.x core/lib/Drupal/Core/Form/FormBase.php \Drupal\Core\Form\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 73
Class
- FormBase
- Provides a base class for forms.
Namespace
Drupal\Core\FormCode
protected $configFactory;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.