Commit 96a5f196 authored by Lily Yan's avatar Lily Yan
Browse files

FDSU-1806 Move help text for site descripton to the between label and field.

parent b5755dba
......@@ -190,6 +190,13 @@ function uw_virtual_site_homepage_form_uw_virtual_site_homepage_node_form_alter(
$default_value = '';
// Move help text of site description from the bottom to the top of field_uw_site_description.
if (isset($form['field_uw_site_description'][LANGUAGE_NONE][0]['#description'])) {
$form['field_uw_site_description'][LANGUAGE_NONE][0]['#field_prefix'] = $form['field_uw_site_description'][LANGUAGE_NONE][0]['#description'];
$form['field_uw_site_description'][LANGUAGE_NONE][0]['#description'] = '';
// Adding the site description to the page. This is just below the site title and on every page.
$form['site_info']['descrip'] = array(
'#type' => 'textfield',
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment