class UncacheableQueryAccessHandler in Entity API 8
Controls query access based on the uncacheable entity permissions.
Hierarchy
- class \Drupal\entity\QueryAccess\QueryAccessHandlerBase implements EntityHandlerInterface, QueryAccessHandlerInterface
- class \Drupal\entity\QueryAccess\UncacheableQueryAccessHandler
Expanded class hierarchy of UncacheableQueryAccessHandler
See also
\Drupal\entity\UncacheableEntityAccessControlHandler
\Drupal\entity\UncacheableEntityPermissionProvider
1 file declares its use of UncacheableQueryAccessHandler
- UncacheableQueryAccessHandlerTest.php in tests/
src/ Kernel/ QueryAccess/ UncacheableQueryAccessHandlerTest.php
File
- src/
QueryAccess/ UncacheableQueryAccessHandler.php, line 11
Namespace
Drupal\entity\QueryAccessView source
class UncacheableQueryAccessHandler extends QueryAccessHandlerBase {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
QueryAccessHandlerBase:: |
protected | property | The entity type bundle info. | |
QueryAccessHandlerBase:: |
protected | property | The current user. | |
QueryAccessHandlerBase:: |
protected | property | The entity type. | |
QueryAccessHandlerBase:: |
protected | property | The event dispatcher. | |
QueryAccessHandlerBase:: |
public | function | Builds the conditions for the given operation and user. | |
QueryAccessHandlerBase:: |
protected | function | Builds the conditions for entities that do not have an owner. | |
QueryAccessHandlerBase:: |
protected | function | Builds the conditions for entities that have an owner. | 1 |
QueryAccessHandlerBase:: |
public static | function |
Instantiates a new instance of this entity handler. Overrides EntityHandlerInterface:: |
|
QueryAccessHandlerBase:: |
public | function |
Gets the conditions for the given operation and user. Overrides QueryAccessHandlerInterface:: |
|
QueryAccessHandlerBase:: |
public | function | Constructs a new QueryAccessHandlerBase object. |