You are here

function nodesinblock_tabtitle in Nodes In Block 6

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

Tab title.

Parameters

stdClass $node The current node.:

Return value

title.

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

File

./nodesinblock.module, line 245
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;
}