_tracker_user_access($account)
Access callback: Determines access permission for an account.
int $account: The user account ID to track.
bool TRUE if a user has permission to access the account for $account and has permission to access the content.
tracker_menu()
function _tracker_user_access($account) { return $account->access('view') && $account->hasPermission('access content'); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!tracker!tracker.module/function/_tracker_user_access/8.1.x