Go to the source code of this file.
if (!$user instanceof\ElggUser||!$user->canEdit()) $display_name = $entity->getDisplayName() ?: elgg_echo('item') |
Handle muting notifications about an entity.
Definition at line 6 of file mute.php.
$show_success = (bool) get_input('show_success', true) |
if (!$entity->muteNotifications($user->guid)) $success_keys |
Initial value:= [
"entity:mute:{$entity->type}:{$entity->subtype}:success",
"entity:mute:{$entity->type}:success",
'entity:mute:success',
]
Definition at line 28 of file mute.php.
if (!$entity instanceof\ElggEntity) $user = get_user($user_guid) |