You are here

function hosting_site_action_info_alter in Hosting 7.3

Same name and namespace in other branches
  1. 7.4 site/hosting_site.module \hosting_site_action_info_alter()

Implements hook_action_info_alter().

File

site/hosting_site.module, line 801
Contains hook implementations for Hosting site module.

Code

function hosting_site_action_info_alter(&$actions) {
  if (variable_get('hosting_require_disable_before_delete', TRUE)) {
    unset($actions['hosting_site_delete_action']);
  }
}