You are here

function panels_sections_perm in Panels Sections 6.2

Same name and namespace in other branches
  1. 6 panels_sections.module \panels_sections_perm()

Implementation of hook_perm().

Since the access to our new custom pages will be granted based on special permissions, we need to define what those permissions are here. This ensures that they are available to enable on the user role administration pages.

File

./panels_sections.module, line 26
Allows you to define panels_sections of your site and apply s to those panels_sections.

Code

function panels_sections_perm() {
  return array(
    'administer panels_sections',
  );
}