function xmlsitemap_sitemap_edit_form_pre_render in XML sitemap 7.2
Same name and namespace in other branches
- 6.2 xmlsitemap.admin.inc \xmlsitemap_sitemap_edit_form_pre_render()
Edit Form Pre Render.
1 string reference to 'xmlsitemap_sitemap_edit_form_pre_render'
- xmlsitemap_sitemap_edit_form in ./
xmlsitemap.admin.inc - Edit Form.
File
- ./
xmlsitemap.admin.inc, line 207 - Administrative page callbacks for the xmlsitemap module.
Code
function xmlsitemap_sitemap_edit_form_pre_render($form) {
$visible_children = element_get_visible_children($form['context']);
if (empty($visible_children)) {
$form['context']['empty'] = array(
'#type' => 'markup',
'#markup' => '<p>' . t('There are currently no XML sitemap contexts available.') . '</p>',
);
}
return $form;
}