protected FieldAPIHandlerTrait::getEntityManager()
Returns the entity manager.
Return value
\Drupal\Core\Entity\EntityManagerInterface The entity manager service.
File
- core/modules/views/src/FieldAPIHandlerTrait.php, line 67
Class
- FieldAPIHandlerTrait
- A trait containing helper methods for field definitions.
Namespace
Drupal\views
Code
1 2 3 4 5 6 | protected function getEntityManager() { if (!isset( $this ->entityManager)) { $this ->entityManager = \Drupal::entityManager(); } return $this ->entityManager; } |
Please login to continue.