aggregator_block_save

  1. drupal
    1. 8
    2. 7
Versions
7 – 8 aggregator_block_save($delta = '', $edit = array())

Implements hook_block_save().

Code

modules/aggregator/aggregator.module, line 378

<?php
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();
  }
}
?>