Closed (fixed)
Project:
User activity log
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
29 Mar 2024 at 07:27 UTC
Updated:
1 Apr 2024 at 04:21 UTC
Jump to comment: Most recent
The content of the user_activity_log.module file is the following.
/**
* @file
* Implements hook_theme().
*/
function user_activity_log_theme($existing, $type, $theme, $path) {
// {@inheritdoc}.
return [
'user_activity_log_tpl' => [
'variables' => [
'nodes_count' => NULL,
'comment_count' => NULL,
'list_nodes' => NULL,
'list_comments' => NULL,
],
'template' => 'user-activity-log-tpl',
],
];
}
The description for the module file is wrong.
The hook implementation misses its documentation comment.
{@inheritdoc} is not used in comments inside functions nor methods.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
avpadernoComment #4
chanderbhushan commentedThanks for you support
Comment #5
chanderbhushan commentedComment #6
chanderbhushan commented