20 $view = $hook->getParam(
'view');
25 $type = $hook->getType();
36 $hash =
base64_encode(hash(
'sha256', $hook->getValue(),
true));
__invoke(\Elgg\Hook $hook)
Calculates the SRI of a simplecache resource file for future use.
if(elgg_trigger_plugin_hook('usersettings:save', 'user', $hooks_params, true)) foreach($request->validation() ->all() as $item) $data
Calculates SRI for simplecache resources.
Models an event passed to hook handlers.
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.