You are here

function openpublic_field_author_apps_configure_form in Features Items Template 7

Configure the author field.

File

./features_template.api.php, line 96
API info for features template module

Code

function openpublic_field_author_apps_configure_form() {
  $form = array();
  $form['openpublic_field_author_author_field_content_types'] = array(
    '#title' => t('Content types'),
    '#default_value' => variable_get('openpublic_field_author_author_field_content_types', array()),
    '#type' => 'checkboxes',
    '#options' => node_type_get_names(),
  );
  $form['#submit'][] = 'openpublic_field_author_apps_configure_form_submit';
  return system_settings_form($form);
}