function ctools_book_parent_settings_form in Chaos Tool Suite (ctools) 6
Same name and namespace in other branches
- 7 plugins/relationships/book_parent.inc \ctools_book_parent_settings_form()
Settings form for the relationship.
1 string reference to 'ctools_book_parent_settings_form'
- book_parent.inc in plugins/
relationships/ book_parent.inc - Plugin to provide an relationship handler for book parent.
File
- plugins/
relationships/ book_parent.inc, line 56 - Plugin to provide an relationship handler for book parent.
Code
function ctools_book_parent_settings_form($conf) {
$form['type'] = array(
'#type' => 'select',
'#title' => t('Relationship type'),
'#options' => array(
'parent' => t('Immediate parent'),
'top' => t('Top level book'),
),
'#default_value' => $conf['type'],
);
return $form;
}