Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SearchIndex.php

function SearchIndex::__construct

SearchIndex constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The config factory.

\Drupal\Core\Database\Connection $connection: The database connection.

\Drupal\Core\Database\Connection $replica: The database replica connection.

\Drupal\Core\Cache\CacheTagsInvalidatorInterface $cacheTagsInvalidator: The cache tags invalidator.

\Drupal\search\SearchTextProcessorInterface $textProcessor: The text processor.

\Drupal\Component\Datetime\TimeInterface $time: The time service

File

core/modules/search/src/SearchIndex.php, line 32

Class

SearchIndex
Provides search index management functions.

Namespace

Drupal\search

Code

public function __construct(ConfigFactoryInterface $configFactory, Connection $connection, Connection $replica, CacheTagsInvalidatorInterface $cacheTagsInvalidator, SearchTextProcessorInterface $textProcessor, TimeInterface $time) {
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal