You are here

function views_schema_6009 in Views (for Drupal 7) 7.3

Same name and namespace in other branches
  1. 6.3 views.install \views_schema_6009()
  2. 6.2 views.install \views_schema_6009()

Enlarge the views_display.display_options field to accommodate a larger set of configurations (e. g. fields, filters, etc.) on a display.

1 call to views_schema_6009()
views_update_6009 in ./views.install

File

./views.install, line 411
Contains install and update functions for Views.

Code

function views_schema_6009() {
  $schema = views_schema(__FUNCTION__);
  $schema['views_display']['fields']['display_options'] = array(
    'type' => 'text',
    'size' => 'big',
    'description' => 'A serialized array of options for this display; it contains options that are generally only pertinent to that display plugin type.',
    'serialize' => TRUE,
    'serialized default' => 'a:0:{}',
  );
  return $schema;
}