You are here

public function SearchApiEntity::getEntityTypeBundleInfo in Search API 8

Retrieves the entity type bundle info.

Return value

\Drupal\Core\Entity\EntityTypeBundleInfo The entity type bundle info.

File

src/Plugin/views/field/SearchApiEntity.php, line 81

Class

SearchApiEntity
Handles the display of entity reference fields in Search API Views.

Namespace

Drupal\search_api\Plugin\views\field

Code

public function getEntityTypeBundleInfo() {
  return $this->entityTypeBundleInfo ?: \Drupal::service('entity_type.bundle.info');
}