You are here

function quicktabs_update_6205 in Quick Tabs 6.2

Same name and namespace in other branches
  1. 6.3 quicktabs.install \quicktabs_update_6205()

Add hide_empty_tabs column.

File

./quicktabs.install, line 201

Code

function quicktabs_update_6205() {
  $ret = array();
  db_add_field($ret, 'quicktabs', 'hide_empty_tabs', array(
    'description' => t('Whether this tabset hides empty tabs'),
    'type' => 'int',
    'unsigned' => TRUE,
    'not null' => TRUE,
    'default' => 0,
  ));
  return $ret;
}