You are here

public function EntityQueryResourceBase::setCacheabilityCapturingExecutor in JSON:API Resources 8

Sets the cacheability capturing entity query executor.

Parameters

\Drupal\jsonapi_resources\Unstable\Entity\Query\CacheabilityCapturingExecutor $entity_query_executor: The entity query executor utility.

File

src/Resource/EntityQueryResourceBase.php, line 32

Class

EntityQueryResourceBase
Defines basic functionality for an entity query-oriented JSON:API Resource.

Namespace

Drupal\jsonapi_resources\Resource

Code

public function setCacheabilityCapturingExecutor(CacheabilityCapturingExecutor $entity_query_executor) {
  $this->entityQueryExecutor = $entity_query_executor;
}