You are here

function media_browser_plus_folder_add_cancel in Media Browser Plus 7

Same name and namespace in other branches
  1. 7.2 includes/media_browser_plus.folders.inc \media_browser_plus_folder_add_cancel()

Simple form cancel redirect.

_state

Parameters

$form:

3 string references to 'media_browser_plus_folder_add_cancel'
media_browser_plus_folder_add in includes/media_browser_plus.folders.inc
@todo Document what this function is does.
media_browser_plus_folder_delete in includes/media_browser_plus.folders.inc
@todo Document what this function is does.
media_browser_plus_folder_edit in includes/media_browser_plus.folders.inc
@todo Document what this function is does.

File

includes/media_browser_plus.folders.inc, line 459
Folder manipulation functions

Code

function media_browser_plus_folder_add_cancel($form, &$form_state) {
  $destination = drupal_get_destination();
  $form_state['redirect'] = $destination['destination'];
}