Issue #2608890 by ashhishhh: Improve comment standards for tracker module
(cherry picked from commit 136b1d4556
)
8.1.x
parent
21701a3a9f
commit
c172aec039
|
@ -135,8 +135,8 @@ function tracker_cron() {
|
|||
/**
|
||||
* Access callback: Determines access permission for a user's own account.
|
||||
*
|
||||
* @param int $account
|
||||
* The account ID to check.
|
||||
* @param \Drupal\Core\Session\AccountInterface $account
|
||||
* The user account to track.
|
||||
*
|
||||
* @return bool
|
||||
* TRUE if a user is accessing tracking info for their own account and
|
||||
|
|
|
@ -14,6 +14,9 @@ use Drupal\node\Entity\Node;
|
|||
* Queries the database for info, adds RDFa info if applicable, and generates
|
||||
* the render array that will be used to render the page.
|
||||
*
|
||||
* @param \Drupal\user\UserInterface $account
|
||||
* (optional) The user account to track.
|
||||
*
|
||||
* @return array
|
||||
* A renderable array.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue