You are here

protected function SearchPage::configFactory in Drupal 8

Same name and namespace in other branches
  1. 9 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 240

Class

SearchPage
Defines a configured search page.

Namespace

Drupal\search\Entity

Code

protected function configFactory() {
  return \Drupal::service('config.factory');
}