aggregator_block_save
function aggregator_block_save
aggregator_block_save($delta = '', $edit = array())
Implements hook_block_save().
File
- modules/aggregator/aggregator.module, line 381
- Used to aggregate syndicated content (RSS, RDF, and Atom).
Code
function aggregator_block_save($delta = '', $edit = array()) { list($type, $id) = explode('-', $delta); if ($type == 'category') { db_update('aggregator_category') ->fields(array('block' => $edit['block'])) ->condition('cid', $id) ->execute(); } }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!aggregator!aggregator.module/function/aggregator_block_save/7.x