32 $profile_fields = array_keys((array)
elgg_get_config(
'profile_fields'));
33 array_walk($profile_fields,
function(&
$value) {
34 $value =
"profile:{$value}";
37 $value[
'annotations'] = array_merge($value[
'annotations'], $profile_fields);
__invoke(Hook $hook)
Search through the user profile fields.
getValue()
Get the current value of the hook.
Models an event passed to hook handlers.
elgg_get_config($name, $default=null)
Get an Elgg configuration value.