summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2013-07-22 20:02:09 -0400
committerDavid Rothstein <drothstein@gmail.com>2013-07-22 20:02:09 -0400
commit38cf2ce17b50b11fd4e0066fbac10e4d0235a4cd (patch)
tree6f95e00302aa2eebdcebbff5b6aac78903f150a8 /modules
parentc6bfda9e435e42cb57e828c8aeaf4f366fe8839d (diff)
downloadbrdo-38cf2ce17b50b11fd4e0066fbac10e4d0235a4cd.tar.gz
brdo-38cf2ce17b50b11fd4e0066fbac10e4d0235a4cd.tar.bz2
Issue #1365234 by TravisCarden, amontero, Kevin Morse, bartmcpherson, xjm: Add description to 'access content overview' permission.
Diffstat (limited to 'modules')
-rw-r--r--modules/node/node.module3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index f20c22950..268076257 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -1587,6 +1587,9 @@ function node_permission() {
),
'access content overview' => array(
'title' => t('Access the content overview page'),
+ 'description' => user_access('access content overview')
+ ? t('Get an overview of <a href="@url">all content</a>.', array('@url' => url('admin/content')))
+ : t('Get an overview of all content.'),
),
'access content' => array(
'title' => t('View published content'),