protected function EntityViewsData::getEntityTypeBundleInfo in Entity API 8
Gets the entity type bundle info.
@todo Remove when support for Drupal 8.7 is dropped.
Return value
\Drupal\Core\Entity\EntityTypeBundleInfoInterface The entity type bundle info.
File
- src/
EntityViewsData.php, line 419
Class
- EntityViewsData
- Provides improvements to core's generic views integration for entities.
Namespace
Drupal\entityCode
protected function getEntityTypeBundleInfo() {
if (!isset($this->entityTypeBundleInfo)) {
return \Drupal::service('entity_type.bundle.info');
}
return $this->entityTypeBundleInfo;
}