function _front_page_get_by_rid_with_default in Front Page 7.2
Function to return the first role enabled in front page, with defaults.
4 calls to _front_page_get_by_rid_with_default()
- front_page_admin_arrange_form_submit in ./
front_page.admin.inc - Submit hook for front_page_admin_arrange_form.
- front_page_admin_submit in ./
front_page.admin.inc - Submit hook for front_page_admin.
- front_page_get_all in ./
front_page.module - Function to return all the roles in front page, ordered by weight.
- front_page_get_by_rid in ./
front_page.module - Function to return the first role enabled in front page, ordered by weight.
File
- ./
front_page.module, line 296
Code
function _front_page_get_by_rid_with_default($rid) {
return variable_get("front_page_role_{$rid}", array(
'rid' => $rid,
'mode' => '',
'data' => '',
'filter_format' => '',
'weight' => 0,
));
}