function announcements_blocks

4.x announcements.module announcements_blocks()
5.x announcements.module announcements_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/announcements/announcements.module, line 128

Code

function announcements_blocks() {
  return array(
    "primary" => t("Primary announcements block"),
  );
}