You are here

closeblock.theme.inc in Close Block 7

Same filename and directory in other branches
  1. 6 theme/closeblock.theme.inc

Function to return block id string.

File

theme/closeblock.theme.inc
View source
<?php

/**
 * @file
 * Function to return block id string.
 */

/**
 * Get block id.
 *
 * @return string
 *   Block id string.
 */
function theme_closeblock_block_id($vars) {
  return 'block-' . str_replace('_', '-', $vars['module']) . '-' . str_replace('_', '-', $vars['delta']);
}

Functions

Namesort descending Description
theme_closeblock_block_id Get block id.