function tmgmt_views_job_access::access in Translation Management Tool 7
Determine if the current user has access or not.
Overrides views_plugin_access::access
File
- views/
plugins/ tmgmt_views_job_access.inc, line 23 - Views access plugin.
Class
- tmgmt_views_job_access
- Access plugin that provides role-based access control.
Code
function access($account) {
return entity_access('view', 'tmgmt_job', NULL, $account);
}