Same name and namespace in other branches
  1. 4.6.x modules/blog.module \blog_perm()
  2. 4.7.x modules/blog.module \blog_perm()
  3. 5.x modules/blog/blog.module \blog_perm()

Implementation of hook_perm().

File

modules/blog/blog.module, line 24
Enables keeping an easily and regularly updated web page or a blog.

Code

function blog_perm() {
  return array(
    'create blog entries',
    'delete own blog entries',
    'delete any blog entry',
    'edit own blog entries',
    'edit any blog entry',
  );
}