Skip to main content

Using hook_block_info() in Drupal 7 Primary tabs

hook_block_info() declares to Drupal what blocks are provided by the module. Initial block configs can be specified. Each block provided by the module is given a unique identifier. The unique identifier is referred to as $delta.

Drupal 7 Hooks

Using hook_block_configure() in Drupal 7

hook_block_configure() takes in $delta as a parameter. $delta is the unique identifier for the block to be configured. The unique identify is defined in hook_block_info(). It returns a configuration form.

Drupal 7 Hooks
Powered by Drupal 7. Made by Cody Bonney.