function 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 58

Code

function ctools_book_parent_settings_form($form, &$form_state) {
  $conf = $form_state['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;
}