You are here

function system_skinr_elements in Skinr 7.2

Same name and namespace in other branches
  1. 8.2 modules/system.skinr.inc \system_skinr_elements()

Implements hook_skinr_elements().

File

modules/system.skinr.inc, line 77
Implements Skinr hooks for system.module.

Code

function system_skinr_elements($variables, $hook) {
  $elements = array();
  if ($hook == 'html') {
    $elements['system'] = array(
      'html',
    );
  }
  elseif ($hook == 'region') {
    $elements['system'] = array(
      'region__' . $variables['region'],
    );
  }
  return $elements;
}