You are here

function taxonomy_display_update_7002 in Taxonomy display 7

Implements hook_update_N().

File

./taxonomy_display.install, line 141
Install, update and uninstall functions for the taxonomy display module.

Code

function taxonomy_display_update_7002() {

  // Add feed field on taxonomy_display records in the storage system to give
  // administrative control of whether the feed should be added to term pages
  // see http://drupal.org/node/1126052
  db_add_field('taxonomy_display', 'add_feed', array(
    'type' => 'int',
    'not null' => TRUE,
    'size' => 'tiny',
    'default' => 1,
    'description' => 'Whether to add Drupal\'s core feed.',
  ));
}