You are here

protected function BaseController::getCacheInfo in Render cache 7.2

Specific cache info overrides based on the $object.

Parameters

object $object:

array $context:

Return value

array

Overrides AbstractBaseController::getCacheInfo

2 calls to BaseController::getCacheInfo()
BaseController::getCacheIdInfo in src/RenderCache/Controller/BaseController.php
Provides the fully pouplated cache information for a specific object.
BlockController::getCacheInfo in modules/controller/render_cache_block/src/RenderCache/Controller/BlockController.php
Specific cache info overrides based on the $object.
1 method overrides BaseController::getCacheInfo()
BlockController::getCacheInfo in modules/controller/render_cache_block/src/RenderCache/Controller/BlockController.php
Specific cache info overrides based on the $object.

File

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

Class

BaseController
Base class for Controller plugin objects.

Namespace

Drupal\render_cache\RenderCache\Controller

Code

protected function getCacheInfo($object, array $context) {
  return array();
}