22 $form[
'basic'][
'#tree'] = FALSE;
23 $form[
'basic'][
'#weight'] = 20;
24 $form[
'basic'][
'settings']= array(
25 '#type' =>
'fieldset',
26 '#title' =>
'Basic List settings',
28 '#collapsible' => TRUE,
29 '#collapsed' => FALSE,
32 $form[
'extra'][
'#tree'] = FALSE;
33 $form[
'extra'][
'#weight'] = 90;
34 $form[
'extra'][
'settings']= array(
35 '#type' =>
'fieldset',
36 '#title' =>
'Advanced Settings',
38 '#collapsible' => TRUE,
43 parent::edit_form($form, $form_state);
48 $form[
'info'][
'object_type'] = array(
50 '#title' => t(
'List Type'),
52 '#default_value' => isset($form_state[
'item']->object_type) ? $form_state[
'item']->object_type : NULL,
53 '#description' => t(
'The List presonality plugin to use for this list'),
62 parent::hook_menu($items);
63 if (isset($items[
'admin/config/system/mailinglist/list'])) {
64 $items[
'admin/config/system/mailinglist/list'][
'type'] = MENU_LOCAL_TASK;
72 if (isset($form_state[
'input'][
'test_result'])) {
73 return $form_state[
'input'][
'test_result'];
83 drupal_goto(ctools_export_ui_plugin_base_path($this->plugin));
86 return $this->list_page($js, $input);
list_header($form_state)
list_header()
_mailinglist_mailbox_test_output($mailbox)
_mailinglist_mailbox_test_output()
_mailinglist_build_options($source, $key_name= 'name')
Builds a Select control array from a menu form an array from a ctools_get_plugin. ...
test_page($js, $input, $mailbox)
Callback to test a mailbox connection.
mailinglist_get_plugins($module, $type)
Wrapper to load plugins.
edit_form(&$form, &$form_state)
Implements ctools_export_ui::edit_form().
Place for common code for export_ui classes Forwards a lot of ctools_export_ui hooks to the exportabl...
Represents an Mailinglist personality module.
hook_menu(&$items)
Implements ctools_export_ui:hook_menu()