1 system.module system_theme_debug_enabled_warning()

Check if theme_debug is enabled, and throw a warning if so.

File

core/modules/system/system.module, line 4721
Configuration system that lets administrators modify the workings of the site.

Code

function system_theme_debug_enabled_warning() {
  $theme_debug_enabled = config_get('system.core', 'theme_debug');
  if ($theme_debug_enabled) {
    backdrop_set_message(t('Theme debugging is enabled. See the <a href="!url">Status report</a> page for more info.', array('!url' => url('admin/reports/status'))), 'warning', FALSE);
  }
}