Commit 583220f5 authored by hass's avatar hass
Browse files

Change hook_permission() to be more verbose / change code style

parent ee9622d0
...@@ -17,10 +17,12 @@ ...@@ -17,10 +17,12 @@
* Implements hook_permission(). * Implements hook_permission().
*/ */
function realname_permission() { function realname_permission() {
$permissions['administer realname'] = array( return array(
'title' => t('Administer Real Name configuration.'), 'administer realname' => array(
'title' => t('Administer Real Name'),
'description' => t('Allows users to administer realname settings.'),
),
); );
return $permissions;
} }
/** /**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment