public function SearchApiRow::setEntityTypeManager in Search API 8
Sets the entity type manager.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The new entity type manager.
Return value
$this
File
- src/
Plugin/ views/ row/ SearchApiRow.php, line 77
Class
- SearchApiRow
- Provides a row plugin for displaying a result as a rendered item.
Namespace
Drupal\search_api\Plugin\views\rowCode
public function setEntityTypeManager(EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
return $this;
}