You are here

public function SearchApiRow::getEntityTypeManager in Search API 8

Retrieves the entity type manager.

Return value

\Drupal\Core\Entity\EntityTypeManagerInterface The entity type manager.

1 call to SearchApiRow::getEntityTypeManager()
SearchApiRow::init in src/Plugin/views/row/SearchApiRow.php
Initialize the row plugin.

File

src/Plugin/views/row/SearchApiRow.php, line 65

Class

SearchApiRow
Provides a row plugin for displaying a result as a rendered item.

Namespace

Drupal\search_api\Plugin\views\row

Code

public function getEntityTypeManager() {
  return $this->entityTypeManager ?: \Drupal::entityTypeManager();
}