Go to the source code of this file.
Displays information the time of the post.
$vars['entity'] The entity to show the time for $vars['time'] Time of the post If not set, will display the time when the entity was deleted (time_deleted attribute) If set to false, time string will not be rendered $vars['time_icon'] Icon name to be used with time info Set to false to not render an icon Default is 'history' $vars['time_href'] Optional link to set on the friendly time text
Definition at line 15 of file time.php.
if (!$entity instanceof\ElggEntity) $time = elgg_extract('time', $vars, $entity->time_deleted) |