Issue #2608890 by ashhishhh: Improve comment standards for tracker module

(cherry picked from commit 136b1d4556)
8.1.x
Jennifer Hodgdon 2015-12-04 09:25:52 -08:00
parent 21701a3a9f
commit c172aec039
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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.
*