hook_domainwarnings

Definition

hook_domainwarnings()
API.php, line 319

Description

Allows a warning message to be printed when entering specific forms that may have values that vary on each domain.

Return value

An array of form_id values representing forms that require warnings.

Related topics

Namesort iconDescription
Domain hook functionsCore hooks for the Domain module suite.

Code

function hook_domainwarnings() {
  // These are the forms for variables set by Domain Conf.
  return array(
    'system_admin_theme_settings',
    'system_date_time_settings',
    'system_site_information_settings',
    'system_site_maintenance_settings'
  );
}