You are here

function panels_image_title in Image 5.2

Returns the administrative title for a image.

1 string reference to 'panels_image_title'
image_image_panels_content_types in content_types/image.inc
Callback function to supply a list of content types.

File

content_types/image.inc, line 173

Code

function panels_image_title($conf) {
  $node = node_load($conf['nid']);
  if ($node) {
    $title = '<strong>' . t('Image:') . '</strong> ' . check_plain($node->title);
    $title .= ' [' . $conf['image_size'] . ']';
    return $title;
  }
  else {
    return t('Deleted/missing node @nid', array(
      '@nid' => $conf['nid'],
    ));
  }
}