public function ContentEntityTrackingManager::__construct in Search API 8
Constructs a new class instance.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.
\Drupal\Core\Language\LanguageManagerInterface $languageManager: The language manager.
\Drupal\search_api\Task\TaskManagerInterface $taskManager: The task manager.
File
- src/
Plugin/ search_api/ datasource/ ContentEntityTrackingManager.php, line 57
Class
- ContentEntityTrackingManager
- Provides hook implementations on behalf of the Content Entity datasource.
Namespace
Drupal\search_api\Plugin\search_api\datasourceCode
public function __construct(EntityTypeManagerInterface $entityTypeManager, LanguageManagerInterface $languageManager, TaskManagerInterface $taskManager) {
$this->entityTypeManager = $entityTypeManager;
$this->languageManager = $languageManager;
$this->taskManager = $taskManager;
}