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