1.20.x block.module block_block_save($delta, &$edit = array())

Implements hook_block_save().

File

modules/block/block.module, line 149
Provides the ability to create reusable custom blocks.

Code

function block_block_save($delta, &$edit = array()) {
  block_custom_block_save($edit, $delta);

  // Remove values from edit to prevent them from being saved in layout config.
  unset($edit['info']);
  unset($edit['title']);
  unset($edit['body']);
}