You are here

function ccl_local_actions_update_7100 in Custom Contextual Links 8

Same name and namespace in other branches
  1. 7 ccl_local_actions/ccl_local_actions.install \ccl_local_actions_update_7100()

Implements hook_update_N(). Renames type of links from 'local_action' to 'local_actions'.

File

ccl_local_actions/ccl_local_actions.install, line 22
Provides install, upgrade and un-install functions for ccl_blocks.

Code

function ccl_local_actions_update_7100() {
  db_update('ccl')
    ->fields(array(
    'type' => 'local_actions',
  ))
    ->condition('type', 'local_action')
    ->execute();
}