public function ContentEntity::setEntityTypeBundleInfo in Search API 8
Sets the entity type bundle info.
Parameters
\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_type_bundle_info: The new entity type bundle info.
Return value
$this
File
- src/
Plugin/ search_api/ datasource/ ContentEntity.php, line 309
Class
- ContentEntity
- Represents a datasource which exposes the content entities.
Namespace
Drupal\search_api\Plugin\search_api\datasourceCode
public function setEntityTypeBundleInfo(EntityTypeBundleInfoInterface $entity_type_bundle_info) {
$this->entityTypeBundleInfo = $entity_type_bundle_info;
return $this;
}