function theme_link_field_settings in Link 6
Same name and namespace in other branches
- 5 link.module \theme_link_field_settings()
- 6.2 link.theme.inc \theme_link_field_settings()
Theme the settings form for the link field.
1 theme call to theme_link_field_settings()
- link_field_settings in ./
link.module - Implementation of hook_field_settings().
File
- ./
link.module, line 155 - Defines simple link field types.
Code
function theme_link_field_settings($form) {
$title_value = drupal_render($form['title_value']);
$title_checkbox = drupal_render($form['title']['value']);
// Set Static Title radio option to include the title_value textfield.
$form['title']['value'] = array(
'#value' => '<div class="container-inline">' . $title_checkbox . $title_value . '</div>',
);
// Reprint the title radio options with the included textfield.
return drupal_render($form);
}