You are here

protected function BaseController::getCacheKeys in Render cache 7.2

Parameters

object $object:

array $context:

Return value

array

Overrides AbstractBaseController::getCacheKeys

4 calls to BaseController::getCacheKeys()
BaseController::getCacheIdInfo in src/RenderCache/Controller/BaseController.php
Provides the fully pouplated cache information for a specific object.
BlockController::getCacheKeys in modules/controller/render_cache_block/src/RenderCache/Controller/BlockController.php
EntityController::getCacheKeys in modules/controller/render_cache_entity/src/RenderCache/Controller/EntityController.php
PageController::getCacheKeys in modules/controller/render_cache_page/src/RenderCache/Controller/PageController.php
3 methods override BaseController::getCacheKeys()
BlockController::getCacheKeys in modules/controller/render_cache_block/src/RenderCache/Controller/BlockController.php
EntityController::getCacheKeys in modules/controller/render_cache_entity/src/RenderCache/Controller/EntityController.php
PageController::getCacheKeys in modules/controller/render_cache_page/src/RenderCache/Controller/PageController.php

File

src/RenderCache/Controller/BaseController.php, line 220
Contains \Drupal\render_cache\RenderCache\Controller\BaseController

Class

BaseController
Base class for Controller plugin objects.

Namespace

Drupal\render_cache\RenderCache\Controller

Code

protected function getCacheKeys($object, array $context) {
  return array(
    'render_cache',
    $this
      ->getPluginId(),
  );
}