You are here

function _responsive_tables_filter_is_theme_default in Responsive Tables Filter 7

Check whether we are on a page using the default theme.

Return value

bool Whether or not this page uses the default theme.

3 calls to _responsive_tables_filter_is_theme_default()
responsive_tables_filter_init in ./responsive_tables_filter.module
Implements hook_init().
responsive_tables_filter_preprocess_page in ./responsive_tables_filter.module
Implements hook_preprocess_page().
responsive_tables_filter_preprocess_views_view_table in ./responsive_tables_filter.module
Implements hook_preprocess_views_view_table().

File

./responsive_tables_filter.module, line 301
Make tables responsive, when filter is enabled for the field.

Code

function _responsive_tables_filter_is_theme_default() {
  global $theme;
  $theme_default = variable_get('theme_default', FALSE);
  return $theme == $theme_default;
}