You are here

function panels_book_parent_settings_form in Panels 5.2

Same name and namespace in other branches
  1. 6.2 relationships/book_parent.inc \panels_book_parent_settings_form()

Settings form for the relationship

1 string reference to 'panels_book_parent_settings_form'
panels_book_parent_panels_relationships in relationships/book_parent.inc
@file relationships/book_parent.inc

File

relationships/book_parent.inc, line 58
relationships/book_parent.inc

Code

function panels_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;
}