1 block.module | block_block_save($delta, &$edit = array()) |
Implements hook_block_save().
File
- core/
modules/ block/ block.module, line 150 - 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']);
}