function SearchPage::configFactory
Same name in other branches
- 9 core/modules/search/src/Entity/SearchPage.php \Drupal\search\Entity\SearchPage::configFactory()
- 8.9.x core/modules/search/src/Entity/SearchPage.php \Drupal\search\Entity\SearchPage::configFactory()
- 10 core/modules/search/src/Entity/SearchPage.php \Drupal\search\Entity\SearchPage::configFactory()
Wraps the config factory.
Return value
\Drupal\Core\Config\ConfigFactoryInterface A config factory object.
File
-
core/
modules/ search/ src/ Entity/ SearchPage.php, line 246
Class
- SearchPage
- Defines a configured search page.
Namespace
Drupal\search\EntityCode
protected function configFactory() {
return \Drupal::service('config.factory');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.