You are here

function block_skinr_ui_element_title in Skinr 7.2

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

Implements hook_skinr_ui_element_title().

File

modules/block.skinr.inc, line 55
Implements Skinr hooks for block.module.

Code

function block_skinr_ui_element_title($module, $element, $theme_name) {
  if ($module == 'block') {

    //list($module, $delta) = explode('__', $element, 2);
    $blocks = _block_skinr_load_blocks($theme_name);
    if (!empty($blocks[$element]->info)) {
      return $blocks[$element]->info;
    }
  }
}