You are here

protected function PageController::getCacheKeys in Render cache 7.2

Parameters

object $object:

array $context:

Return value

array

Overrides BaseController::getCacheKeys

File

modules/controller/render_cache_page/src/RenderCache/Controller/PageController.php, line 74
Contains \Drupal\render_cache_page\RenderCache\Controller\PageController

Class

PageController
PageController - Provides render caching for page objects.

Namespace

Drupal\render_cache_page\RenderCache\Controller

Code

protected function getCacheKeys($object, array $context) {
  return array_merge(parent::getCacheKeys($object, $context), array(
    $context['page_callback'],
  ));
}