You are here

public function PostRequestIndexing::__construct in Search API 8

Constructs a new class instance.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

File

src/Utility/PostRequestIndexing.php, line 49

Class

PostRequestIndexing
Provides a service for indexing items at the end of the page request.

Namespace

Drupal\search_api\Utility

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager) {
  $this->entityTypeManager = $entity_type_manager;
}