You are here

function configuration_confirm_delete_page in Configuration Management 7

Page callback for deleting forms.

1 string reference to 'configuration_confirm_delete_page'
configuration_menu in ./configuration.module
Implements hook_menu().

File

./configuration.admin.inc, line 556

Code

function configuration_confirm_delete_page($component, $name) {
  if (configuration_is_tracked($component, $name)) {
    $config = configuration_get_configuration();
    if (!empty($config[$component][$name]['parent'])) {
      return MENU_NOT_FOUND;
    }
    else {
      return drupal_get_form('configuration_confirm_delete', $component, $name);
    }
  }
  return MENU_NOT_FOUND;
}