public function ReverseEntityReferences::getEntityTypeBundleInfo in Search API 8
Retrieves the entity type bundle info.
Return value
\Drupal\Core\Entity\EntityTypeBundleInfoInterface The entity type bundle info.
1 call to ReverseEntityReferences::getEntityTypeBundleInfo()
- ReverseEntityReferences::getEntityReferences in src/
Plugin/ search_api/ processor/ ReverseEntityReferences.php - Collects all entity references.
File
- src/
Plugin/ search_api/ processor/ ReverseEntityReferences.php, line 150
Class
- ReverseEntityReferences
- Allows indexing of reverse entity references.
Namespace
Drupal\search_api\Plugin\search_api\processorCode
public function getEntityTypeBundleInfo() {
return $this->entityTypeBundleInfo ?: \Drupal::service('entity_type.bundle.info');
}