protected function BaseController::getCacheHash in Render cache 7.2
Parameters
object $object:
array $context:
Return value
array
Overrides AbstractBaseController::getCacheHash
2 calls to BaseController::getCacheHash()
- BaseController::getCacheIdInfo in src/
RenderCache/ Controller/ BaseController.php - Provides the fully pouplated cache information for a specific object.
- EntityController::getCacheHash in modules/
controller/ render_cache_entity/ src/ RenderCache/ Controller/ EntityController.php
3 methods override BaseController::getCacheHash()
- BlockController::getCacheHash in modules/
controller/ render_cache_block/ src/ RenderCache/ Controller/ BlockController.php - EntityController::getCacheHash in modules/
controller/ render_cache_entity/ src/ RenderCache/ Controller/ EntityController.php - PageController::getCacheHash in modules/
controller/ render_cache_page/ src/ RenderCache/ Controller/ PageController.php
File
- src/
RenderCache/ Controller/ BaseController.php, line 230 - Contains \Drupal\render_cache\RenderCache\Controller\BaseController
Class
- BaseController
- Base class for Controller plugin objects.
Namespace
Drupal\render_cache\RenderCache\ControllerCode
protected function getCacheHash($object, array $context) {
return array(
'id' => $context['id'],
);
}