public function ReverseEntityReferences::getEntityTypeManager in Search API 8
Retrieves the entity type manager.
Return value
\Drupal\Core\Entity\EntityTypeManagerInterface The entity type manager.
File
- src/
Plugin/ search_api/ processor/ ReverseEntityReferences.php, line 104
Class
- ReverseEntityReferences
- Allows indexing of reverse entity references.
Namespace
Drupal\search_api\Plugin\search_api\processorCode
public function getEntityTypeManager() {
return $this->entityTypeManager ?: \Drupal::entityTypeManager();
}