public function EntityQueryAlter::__construct in Entity API 8
Constructs a new EntityQueryAlter object.
Parameters
\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: The entity field manager.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\Render\RendererInterface $renderer: The renderer.
\Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack.
File
- src/
QueryAccess/ EntityQueryAlter.php, line 68
Class
- EntityQueryAlter
- Defines a class for altering entity queries.
Namespace
Drupal\entity\QueryAccessCode
public function __construct(EntityFieldManagerInterface $entity_field_manager, EntityTypeManagerInterface $entity_type_manager, RendererInterface $renderer, RequestStack $request_stack) {
$this->entityFieldManager = $entity_field_manager;
$this->entityTypeManager = $entity_type_manager;
$this->renderer = $renderer;
$this->requestStack = $request_stack;
}