private function PurgePurgerBundleUI::get_form_edit_target in Purge 7.2
Generate the target form elements.
File
- includes/
purge_ui.class.inc, line 297 - Provides administrative interface for the Purge module.
Class
- PurgePurgerBundleUI
- Generates UI elements for the Purge UI module.
Code
private function get_form_edit_target() {
$form = array();
$form['target'] = array(
'#type' => 'fieldset',
'#title' => 'Target Configuration',
);
$form['target']['urls'] = array(
'#type' => 'textarea',
'#title' => t('URLs'),
'#description' => t('The URLs where the Purge requests will be sent to. One URL per line.'),
'#required' => true,
'#default_value' => implode("\n", $this->form_item->urls),
);
return $form;
}