You are here

public function deploy_ui_endpoint::edit_form_submit in Deploy - Content Staging 7.3

Same name and namespace in other branches
  1. 7.2 modules/deploy_ui/plugins/export_ui/deploy_ui_endpoint.class.php \deploy_ui_endpoint::edit_form_submit()

Submit callback for basic config.

Overrides ctools_export_ui::edit_form_submit

File

modules/deploy_ui/plugins/export_ui/deploy_ui_endpoint.class.php, line 109
CTools export UI implementation for deploy endpoints.

Class

deploy_ui_endpoint
Deploy endpoint UI class that extends CTools Export UI.

Code

public function edit_form_submit(&$form, &$form_state) {
  $item = $form_state['item'];
  $item->name = $form_state['values']['name'];
  $item->title = $form_state['values']['title'];
  $item->description = $form_state['values']['description'];
  $item->debug = $form_state['values']['debug'];
  $item->authenticator_plugin = $form_state['values']['authenticator_plugin'];
  $item->service_plugin = $form_state['values']['service_plugin'];
}