function hook_block_save


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_save($delta = '', $edit = array())
cle7 block.api.php hook_block_save($delta = '', $edit = array())
elmsmedia7 block.api.php hook_block_save($delta = '', $edit = array())
icor7 block.api.php hook_block_save($delta = '', $edit = array())
meedjum_blog7 block.api.php hook_block_save($delta = '', $edit = array())
mooc7 block.api.php hook_block_save($delta = '', $edit = array())

Save the configuration options from hook_block_configure().

This hook allows you to save the block-specific configuration settings defined within your hook_block_configure().


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

$edit: The submitted form data from the configuration form.

For a detailed usage example, see block_example.module.

See also



Related topics

14 functions implement hook_block_save()

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

aggregator_block_save in modules/aggregator/aggregator.module
Implements hook_block_save().
block_block_save in modules/block/block.module
Implements hook_block_save().
block_custom_block_save in modules/block/block.module
Saves a user-created block in the database.
blog_block_save in modules/blog/blog.module
Implements hook_block_save().
book_block_save in modules/book/book.module
Implements hook_block_save().

... See full list

1 invocation of hook_block_save()
block_admin_configure_submit in modules/block/
Form submission handler for block_admin_configure().


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


function hook_block_save($delta = '', $edit = array()) {
  // This example comes from node.module.
  if ($delta == 'recent') {
    variable_set('node_recent_block_count', $edit['node_recent_block_count']);



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.