function autoassignrole_page_load in Auto Assign Role 7.2
Provides a route loader for loading an Auto assign role page.
Parameters
string $name: The page machine name.
Return value
stdClass|false An Auto assign role page object or FALSE on failure.
1 string reference to 'autoassignrole_page_load'
- autoassignrole_page_form in ./
autoassignrole.admin.inc - Provides a FAPI form for adding and editing pages.
File
- ./
autoassignrole.module, line 186 - The main autoassignrole.module file
Code
function autoassignrole_page_load($name) {
ctools_include('export');
$page = ctools_export_crud_load('autoassignrole_page', $name);
return !empty($page) ? $page : FALSE;
}