public function SearchApiEntity::setEntityTypeBundleInfo in Search API 8
Sets the entity type bundle info.
Parameters
\Drupal\Core\Entity\EntityTypeBundleInfo $entity_type_bundle_info: The new entity type bundle info.
Return value
$this
File
- src/
Plugin/ views/ field/ SearchApiEntity.php, line 93
Class
- SearchApiEntity
- Handles the display of entity reference fields in Search API Views.
Namespace
Drupal\search_api\Plugin\views\fieldCode
public function setEntityTypeBundleInfo(EntityTypeBundleInfo $entity_type_bundle_info) {
$this->entityTypeBundleInfo = $entity_type_bundle_info;
return $this;
}