public static function ContentEntity::getIndexesForEntity in Search API 8
File
- src/
Plugin/ search_api/ datasource/ ContentEntity.php, line 1235
Class
- ContentEntity
- Represents a datasource which exposes the content entities.
Namespace
Drupal\search_api\Plugin\search_api\datasourceCode
public static function getIndexesForEntity(ContentEntityInterface $entity) {
return \Drupal::getContainer()
->get('search_api.entity_datasource.tracking_manager')
->getIndexesForEntity($entity);
}