You are here

function domain_settings_domain_warning_alter in Domain Access 7.3

Implements hook_domain_warning_alter().

File

domain_settings/domain_settings.module, line 277
Allows domain-specific use of Drupal system settings forms.

Code

function domain_settings_domain_warning_alter(&$forms) {

  // Forms which Domain Settings handles and are set as warnings.
  $core_forms = array(
    'system_admin_theme_settings',
    'system_site_information_settings',
    'system_site_maintenance_settings',
    'menu_configure',
  );
  foreach ($core_forms as $form_id) {
    if (isset($forms[$form_id])) {
      unset($forms[$form_id]);
    }
  }
}