You are here

function oauth2_server_form_submit_delete in OAuth2 Server 7

Form API submit callback for the delete button.

1 string reference to 'oauth2_server_form_submit_delete'
oauth2_server_form in includes/oauth2_server.server_admin.inc
Generates the server editing form.

File

includes/oauth2_server.server_admin.inc, line 292
Admin UI for servers.

Code

function oauth2_server_form_submit_delete(&$form, &$form_state) {
  $form_state['redirect'] = 'admin/structure/oauth2-servers/manage/' . $form_state['oauth2_server']->name . '/delete';
}