protected function BaseController::alter in Render cache 7.2
Parameters
string $type:
array $data:
mixed|null $context1:
mixed|null $context2:
mixed|null $context3:
Overrides AbstractBaseController::alter
2 calls to BaseController::alter()
- BaseController::getCacheIdInfo in src/
RenderCache/ Controller/ BaseController.php - Provides the fully pouplated cache information for a specific object.
- BaseController::view in src/
RenderCache/ Controller/ BaseController.php
File
- src/
RenderCache/ Controller/ BaseController.php, line 485 - Contains \Drupal\render_cache\RenderCache\Controller\BaseController
Class
- BaseController
- Base class for Controller plugin objects.
Namespace
Drupal\render_cache\RenderCache\ControllerCode
protected function alter($type, &$data, &$context1 = NULL, &$context2 = NULL, &$context3 = NULL) {
drupal_alter('render_cache_' . $this
->getPluginId() . '_' . $type, $data, $context1, $context2, $context3);
}