You are here

public function ContentEntity::getEntityTypeBundleInfo in Search API 8

Retrieves the entity display repository.

Return value

\Drupal\Core\Entity\EntityTypeBundleInfoInterface The entity entity display repository.

File

src/Plugin/search_api/datasource/ContentEntity.php, line 297

Class

ContentEntity
Represents a datasource which exposes the content entities.

Namespace

Drupal\search_api\Plugin\search_api\datasource

Code

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