function services_client_plugin_edit in Services Client 7.2
Form; Configure plugin form.
Parameters
EventHandler $event: Event handler that is configured.
string $type: Type of added plugin. (condition, mapping)
string $uuid: UUID identifier.
ServicesClientConfiguragleInterface $plugin: Plugin that is configured.
1 string reference to 'services_client_plugin_edit'
- services_client_ui::configure_plugin_page in plugins/
export_ui/ services_client_ui.class.php - Page callback; Configure plugin.
File
- ./
services_client.forms.inc, line 150
Code
function services_client_plugin_edit($form, &$form_state, $event, $type, $uuid, $plugin) {
// Set plugins
$form_state += array(
'type' => $type,
'event' => $event,
'plugin' => $plugin,
'uuid' => $uuid,
);
$plugin
->configForm($form, $form_state);
$form['actions']['submit'] = array(
'#type' => 'submit',
'#value' => t('Submit'),
'#action' => 'submit',
);
$form['actions']['cancel'] = array(
'#type' => 'submit',
'#value' => t('Cancel'),
'#action' => 'cancel',
);
return $form;
}