20 $view = $event->getParam(
'view');
25 $type = $event->getType();
36 $hash =
base64_encode(hash(
'sha256', $event->getValue(),
true));
Calculates SRI for simplecache resources.
if(!$entity instanceof\ElggUser) $data
if(!empty($avatar)&&!$avatar->isValid()) elseif(empty($avatar)) if(!$owner->saveIconFromUploadedFile('avatar')) if(!elgg_trigger_event('profileiconupdate', $owner->type, $owner)) $view
_elgg_services()
Get the global service provider.
Models an event passed to event handlers.
__invoke(\Elgg\Event $event)
Calculates the SRI of a simplecache resource file for future use.