You are here

function block_token_token_name in Block Token 7

Same name and namespace in other branches
  1. 8 block_token.module \block_token_token_name()

Creates the token string.

Parameters

string $module: Module name.

string $delta: Block delta.

Return value

string Token name.

1 call to block_token_token_name()
block_token_form_alter in ./block_token.module
Implements hook_form_alter().

File

./block_token.module, line 51
The file contains Block Token module code.

Code

function block_token_token_name($module, $delta) {

  // @todo use machine_name if available
  return $module . BLOCK_TOKEN_SEPARATOR . $delta;
}