You are here

function panelizer_default_title_callback in Panelizer 6

Same name and namespace in other branches
  1. 7.3 panelizer.module \panelizer_default_title_callback()
  2. 7 panelizer.module \panelizer_default_title_callback()
  3. 7.2 panelizer.module \panelizer_default_title_callback()

Title callback to properly set the tile when editing panelizer defaults.

1 string reference to 'panelizer_default_title_callback'
panelizer_menu in ./panelizer.module
Implementation of hook_menu().

File

./panelizer.module, line 229
panelizer.module

Code

function panelizer_default_title_callback($type, $key) {
  switch ($type) {
    case 'node':
      $name = node_get_types('name', $key);
      return check_plain($name);
    case 'user':
  }
}