function ViewsFormHelperTrait::getConfigFactory
Returns the config factory service.
Return value
\Drupal\Core\Config\ConfigFactoryInterface The config factory service.
File
-
core/
modules/ views/ src/ ViewsFormHelperTrait.php, line 163
Class
- ViewsFormHelperTrait
- Provides reusable code to be shared by Views forms.
Namespace
Drupal\viewsCode
protected function getConfigFactory() : ConfigFactoryInterface {
return \Drupal::service('config.factory');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.