Commit 644b7668 authored by Lily Yan's avatar Lily Yan
Browse files

Hide target option field for _os_link_external_form.

parent a80718a4
......@@ -189,6 +189,17 @@ function uw_virtual_site_homepage_page_alter(&$page) {
}
}
/**
* Implement hook_form_alter
* Form ID: _os_link_external_form
* Hide target option field.
*/
function uw_virtual_site_homepage_form_alter(&$form, &$form_state, $form_id) {
if ($form_id == '_os_link_external_form' && isset($form['target_option'])) {
unset($form['target_option']);
}
}
/**
* Implements hook_FORMID_form_alter().
* Removing options and placing data on the form for setting the virtual homepage.
......
Markdown is supported
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