protected function EntityRenderHandler::isStorageHit in Acquia Lift Connector 8.4
Check if the storage is a hit.
Parameters
string $uuid: The UUID.
string $langcode: The language code.
string $view_mode: The view mode identifier.
Return value
bool TRUE if storage hit; FALSE otherwise.
1 call to EntityRenderHandler::isStorageHit()
- EntityRenderHandler::getRenderUuid in modules/
acquia_lift_publisher/ src/ EventSubscriber/ Cdf/ EntityRenderHandler.php - Get rendered content UUID for given source entity view mode and language.
File
- modules/
acquia_lift_publisher/ src/ EventSubscriber/ Cdf/ EntityRenderHandler.php, line 477
Class
- EntityRenderHandler
- Class EntityRenderHandler.
Namespace
Drupal\acquia_lift_publisher\EventSubscriber\CdfCode
protected function isStorageHit($uuid, $langcode, $view_mode) {
return isset($this->storage[$uuid][$langcode][$view_mode]);
}