You are here

function node_skinr_ui_element_title in Skinr 8.2

Same name and namespace in other branches
  1. 7.2 modules/node.skinr.inc \node_skinr_ui_element_title()

Implements hook_skinr_ui_element_title().

File

modules/node.skinr.inc, line 32
Implements Skinr hooks for node.module.

Code

function node_skinr_ui_element_title($element_type, $element, $theme_name) {
  if ($element_type == 'node') {
    $type = node_type_load($element);
    return $type
      ->label();
  }
}