function content_blocks
Search API
7.x content.module | content_blocks() |
6.x content.module | content_blocks() |
4.x content.module | content_blocks() |
5.x content.module | content_blocks() |
hook_blocks. Returns an array of available blocks offered by this module in this format: array( delta => "This is the title of the block.", ), );
Delta can be just about anything machine-readable. Alphanumeric and underscores only. Ex: 0, 1, fun_2, etc.
File
- modules/
content/ content.module, line 2726
Code
function content_blocks() {
return array(
"primary" => t("Primary content block"),
);
}