public function SearchApiEntity::setEntityDisplayRepository in Search API 8
Sets the entity display repository.
Parameters
\Drupal\Core\Entity\EntityDisplayRepositoryInterface $entity_display_repository: The new entity display repository.
Return value
$this
File
- src/
Plugin/ views/ field/ SearchApiEntity.php, line 70
Class
- SearchApiEntity
- Handles the display of entity reference fields in Search API Views.
Namespace
Drupal\search_api\Plugin\views\fieldCode
public function setEntityDisplayRepository(EntityDisplayRepositoryInterface $entity_display_repository) {
$this->entityDisplayRepository = $entity_display_repository;
return $this;
}