function stats_perm
Search API
7.x stats.module | stats_perm() |
6.x stats.module | stats_perm() |
4.x stats.module | stats_perm() |
5.x stats.module | stats_perm() |
Implementation of hook_perm(). Expects to return an array of permissions recognized by this module.
Ex: $a = array( "deCanDoSomething" => array ( "title" => "Can Do Something", "description" => "Allow the user to do something." ) );
File
- modules/
stats/ stats.module, line 167 - This module displays statistics and reports for FlightPath
Code
function stats_perm() {
$perms = array(
"can_access_stats" => array(
"title" => t("Can access/view stats"),
"description" => t("This allows the user to access the stats module, letting them run
reports on usage."),
),
);
return $perms;
}