You are here

function autoassignrole_get_pages in Auto Assign Role 7

Function to retrieve all role-specific pages.

Return value

SelectQuery An array of page objects.

1 call to autoassignrole_get_pages()
autoassignrole_menu in ./autoassignrole.module
Implements hook_menu().

File

./autoassignrole.module, line 300
The main autoassignrole.module file

Code

function autoassignrole_get_pages() {
  $query = _autoasignrole_get_page_query();
  return $query
    ->execute();
}