Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
drupal.org
realname
Commits
583220f5
Commit
583220f5
authored
Nov 02, 2013
by
hass
Browse files
Change hook_permission() to be more verbose / change code style
parent
ee9622d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
realname.module
View file @
583220f5
...
...
@@ -17,10 +17,12 @@
* Implements hook_permission().
*/
function
realname_permission
()
{
$permissions
[
'administer realname'
]
=
array
(
'title'
=>
t
(
'Administer Real Name configuration.'
),
return
array
(
'administer realname'
=>
array
(
'title'
=>
t
(
'Administer Real Name'
),
'description'
=>
t
(
'Allows users to administer realname settings.'
),
),
);
return
$permissions
;
}
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment