function hook_block_configure


Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/
cis7 block.api.php hook_block_configure($delta = '')
cle7 block.api.php hook_block_configure($delta = '')
elmsmedia7 block.api.php hook_block_configure($delta = '')
icor7 block.api.php hook_block_configure($delta = '')
meedjum_blog7 block.api.php hook_block_configure($delta = '')
mooc7 block.api.php hook_block_configure($delta = '')

Define a configuration form for a block.


$delta: Which block is being configured. This is a unique identifier for the block within the module, defined in hook_block_info().

Return value

A configuration form, if one is needed for your block beyond the standard elements that the block module provides (block title, visibility, etc.).

For a detailed usage example, see block_example.module.

See also



Related topics

13 functions implement hook_block_configure()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

aggregator_block_configure in modules/aggregator/aggregator.module
Implements hook_block_configure().
block_block_configure in modules/block/block.module
Implements hook_block_configure().
blog_block_configure in modules/blog/blog.module
Implements hook_block_configure().
book_block_configure in modules/book/book.module
Implements hook_block_configure().
boxes_block_configure in sites/all/modules/ulmus/boxes/boxes.module
Implements hook_block_configure().

... See full list

1 invocation of hook_block_configure()
block_admin_configure in modules/block/
Form constructor for the block configuration form.


modules/block/block.api.php, line 157
Hooks provided by the Block module.


function hook_block_configure($delta = '') {
  // This example comes from node.module.
  $form = array();
  if ($delta == 'recent') {
    $form['node_recent_block_count'] = array(
      '#type' => 'select',
      '#title' => t('Number of recent content items to display'),
      '#default_value' => variable_get('node_recent_block_count', 10),
      '#options' => drupal_map_assoc(array(2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 25, 30)),
  return $form;



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.