You are here

function nodesinblock_tabtitle in Nodes In Block 7

Same name and namespace in other branches
  1. 6 nodesinblock.module \nodesinblock_tabtitle()

Tab title.

Parameters

$node: The current node.

Return value

$title The title

1 string reference to 'nodesinblock_tabtitle'
nodesinblock_menu in ./nodesinblock.module
Implements hook_menu().

File

./nodesinblock.module, line 267
Nodes in block makes it possible to add multiple nodes in one block.

Code

function nodesinblock_tabtitle($node) {
  $i = $node->nodesinblock;
  $a = $i + 1;
  $title = check_plain(variable_get('nodesinblock_friendlyname_' . $i, t('Nodes in block ' . $a)));
  return $title;
}