1 system.module | system_block_save($delta, &$edit = array()) |
Implements hook_block_save().
File
- core/
modules/ system/ system.module, line 2716 - Configuration system that lets administrators modify the workings of the site.
Code
function system_block_save($delta, &$edit = array()) {
if ($delta === 'header') {
// Clean up all the components so Layout module can save them correctly.
if (is_array($edit['components']) && !empty($edit['components'])) {
foreach ($edit['components'] as $key => $value) {
$edit[$key] = $value;
}
unset($edit['components']);
}
}
}