$view = new view;
$view->name = 'views_system';
$view->description = 'Displays the system modules and themes.';
$view->tag = 'Administration';
$view->view_php = '';
$view->base_table = 'system';
$view->is_cacheable = FALSE;
$view->api_version = 2;
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
$handler = $view->new_display('default', 'Defaults', 'default');
$handler->override_option('fields', array(
'info_project' => array(
'label' => 'Project',
'alter' => array(
'alter_text' => 1,
'text' => '[info_project]',
'make_link' => 1,
'path' => 'http://drupal.org/project/[info_project]',
'link_class' => '',
'alt' => '[info_project]',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'exclude' => 1,
'id' => 'info_project',
'table' => 'system',
'field' => 'info_project',
'override' => array(
'button' => 'Override',
),
'relationship' => 'none',
),
'info_name' => array(
'label' => 'Display name',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'exclude' => 1,
'id' => 'info_name',
'table' => 'system',
'field' => 'info_name',
'override' => array(
'button' => 'Override',
),
'relationship' => 'none',
),
'name' => array(
'label' => 'Name',
'alter' => array(
'alter_text' => 1,
'text' => '[info_name]
([name])',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'exclude' => 0,
'id' => 'name',
'table' => 'system',
'field' => 'name',
'override' => array(
'button' => 'Override',
),
'relationship' => 'none',
),
'info_description' => array(
'label' => 'Description',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'exclude' => 0,
'id' => 'info_description',
'table' => 'system',
'field' => 'info_description',
'override' => array(
'button' => 'Override',
),
'relationship' => 'none',
),
'filename' => array(
'label' => 'Filename',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'exclude' => 0,
'id' => 'filename',
'table' => 'system',
'field' => 'filename',
'override' => array(
'button' => 'Override',
),
'relationship' => 'none',
),
'info_datestamp' => array(
'label' => 'Date',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'date_format' => 'time ago',
'custom_date_format' => '',
'exclude' => 1,
'id' => 'info_datestamp',
'table' => 'system',
'field' => 'info_datestamp',
'override' => array(
'button' => 'Override',
),
'relationship' => 'none',
),
'info_version' => array(
'label' => 'Version',
'alter' => array(
'alter_text' => 1,
'text' => '[info_version]
([info_datestamp])',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'exclude' => 0,
'id' => 'info_version',
'table' => 'system',
'field' => 'info_version',
'override' => array(
'button' => 'Override',
),
'relationship' => 'none',
),
'drupal_core' => array(
'label' => 'Core',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'type' => 'yes-no',
'not' => 0,
'exclude' => 0,
'id' => 'drupal_core',
'table' => 'system',
'field' => 'drupal_core',
'override' => array(
'button' => 'Override',
),
'relationship' => 'none',
),
'status' => array(
'label' => 'Status',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'type' => 'on-off',
'not' => 0,
'exclude' => 0,
'id' => 'status',
'table' => 'system',
'field' => 'status',
'override' => array(
'button' => 'Override',
),
'relationship' => 'none',
),
'type' => array(
'label' => 'Type',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'exclude' => 0,
'id' => 'type',
'table' => 'system',
'field' => 'type',
'override' => array(
'button' => 'Override',
),
'relationship' => 'none',
),
));
$handler->override_option('filters', array(
'name' => array(
'operator' => 'contains',
'value' => '',
'group' => '0',
'exposed' => TRUE,
'expose' => array(
'use_operator' => 1,
'operator' => 'name_op',
'identifier' => 'name',
'label' => 'Name',
'optional' => 1,
'remember' => 0,
),
'case' => 0,
'id' => 'name',
'table' => 'system',
'field' => 'name',
'override' => array(
'button' => 'Override',
),
'relationship' => 'none',
),
'filename' => array(
'operator' => 'contains',
'value' => '',
'group' => '0',
'exposed' => TRUE,
'expose' => array(
'use_operator' => 1,
'operator' => 'filename_op',
'identifier' => 'filename',
'label' => 'Filename',
'optional' => 1,
'remember' => 0,
),
'case' => 0,
'id' => 'filename',
'table' => 'system',
'field' => 'filename',
'override' => array(
'button' => 'Override',
),
'relationship' => 'none',
),
'drupal_core' => array(
'operator' => '=',
'value' => 'All',
'group' => '0',
'exposed' => TRUE,
'expose' => array(
'operator' => '',
'identifier' => 'drupal_core',
'label' => 'Core',
'optional' => 1,
'remember' => 0,
),
'id' => 'drupal_core',
'table' => 'system',
'field' => 'drupal_core',
'override' => array(
'button' => 'Override',
),
'relationship' => 'none',
),
'status' => array(
'operator' => '=',
'value' => 'All',
'group' => '0',
'exposed' => TRUE,
'expose' => array(
'operator' => '',
'identifier' => 'status',
'label' => 'Status',
'optional' => 1,
'remember' => 0,
),
'id' => 'status',
'table' => 'system',
'field' => 'status',
'override' => array(
'button' => 'Override',
),
'relationship' => 'none',
),
'type' => array(
'operator' => 'in',
'value' => array(
'module' => 'module',
'theme' => 'theme',
),
'group' => '0',
'exposed' => TRUE,
'expose' => array(
'use_operator' => 1,
'operator' => 'type_op',
'identifier' => 'type',
'label' => 'Type',
'optional' => 1,
'single' => 0,
'remember' => 0,
'reduce' => 0,
),
'id' => 'type',
'table' => 'system',
'field' => 'type',
'relationship' => 'none',
'override' => array(
'button' => 'Override',
),
),
));
$handler->override_option('access', array(
'type' => 'perm',
'perm' => 'access site reports',
));
$handler->override_option('cache', array(
'type' => 'time',
'results_lifespan' => '3600',
'output_lifespan' => '3600',
));
$handler->override_option('header', 'Here you can find information about your system modules and themes.');
$handler->override_option('header_format', '1');
$handler->override_option('header_empty', 0);
$handler->override_option('use_ajax', TRUE);
$handler->override_option('items_per_page', 25);
$handler->override_option('use_pager', '1');
$handler->override_option('style_plugin', 'table');
$handler->override_option('style_options', array(
'grouping' => 'info_project',
'override' => 1,
'sticky' => 0,
'order' => 'asc',
'columns' => array(
'info_project' => 'info_project',
'info_name' => 'info_name',
'name' => 'name',
'info_description' => 'info_description',
'filename' => 'filename',
'info_datestamp' => 'info_datestamp',
'info_version' => 'info_version',
'drupal_core' => 'drupal_core',
'status' => 'status',
'type' => 'type',
),
'info' => array(
'info_project' => array(
'separator' => '',
),
'info_name' => array(
'separator' => '',
),
'name' => array(
'sortable' => 1,
'separator' => '',
),
'info_description' => array(
'separator' => '',
),
'filename' => array(
'sortable' => 1,
'separator' => '',
),
'info_datestamp' => array(
'separator' => '',
),
'info_version' => array(
'separator' => '',
),
'drupal_core' => array(
'separator' => '',
),
'status' => array(
'sortable' => 1,
'separator' => '',
),
'type' => array(
'sortable' => 1,
'separator' => '',
),
),
'default' => 'name',
));
$handler = $view->new_display('page', 'Admin: All', 'page_1');
$handler->override_option('title', 'System Modules and Themes');
$handler->override_option('path', 'admin/reports/system/all');
$handler->override_option('menu', array(
'type' => 'default tab',
'title' => 'Modules and Themes',
'description' => 'Displays a table with the system modules and themes.',
'weight' => '0',
'name' => 'navigation',
));
$handler->override_option('tab_options', array(
'type' => 'tab',
'title' => 'System Modules and Themes',
'description' => 'Displays a table with the system modules and themes.',
'weight' => '0',
'name' => 'navigation',
));
$handler = $view->new_display('page', 'Admin: Modules', 'page_2');
$handler->override_option('fields', array(
'info_project' => array(
'label' => 'Project',
'alter' => array(
'alter_text' => 1,
'text' => '[info_project]',
'make_link' => 1,
'path' => 'http://drupal.org/project/[info_project]',
'link_class' => '',
'alt' => '[info_project]',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'exclude' => 1,
'id' => 'info_project',
'table' => 'system',
'field' => 'info_project',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'info_name' => array(
'label' => 'Display name',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'exclude' => 1,
'id' => 'info_name',
'table' => 'system',
'field' => 'info_name',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'name' => array(
'label' => 'Name',
'alter' => array(
'alter_text' => 1,
'text' => '[info_name]
([name])',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'exclude' => 0,
'id' => 'name',
'table' => 'system',
'field' => 'name',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'info_description' => array(
'label' => 'Description',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'exclude' => 0,
'id' => 'info_description',
'table' => 'system',
'field' => 'info_description',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'filename' => array(
'label' => 'Filename',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'exclude' => 0,
'id' => 'filename',
'table' => 'system',
'field' => 'filename',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'info_datestamp' => array(
'label' => 'Date',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'date_format' => 'time ago',
'custom_date_format' => '',
'exclude' => 1,
'id' => 'info_datestamp',
'table' => 'system',
'field' => 'info_datestamp',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'info_version' => array(
'label' => 'Version',
'alter' => array(
'alter_text' => 1,
'text' => '[info_version]
([info_datestamp])',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'exclude' => 0,
'id' => 'info_version',
'table' => 'system',
'field' => 'info_version',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'drupal_core' => array(
'label' => 'Core',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'type' => 'yes-no',
'not' => 0,
'exclude' => 0,
'id' => 'drupal_core',
'table' => 'system',
'field' => 'drupal_core',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'status' => array(
'label' => 'Status',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'type' => 'on-off',
'not' => 0,
'exclude' => 0,
'id' => 'status',
'table' => 'system',
'field' => 'status',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'bootstrap' => array(
'label' => 'Bootstrap',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'type' => 'yes-no',
'not' => 0,
'exclude' => 0,
'id' => 'bootstrap',
'table' => 'system',
'field' => 'bootstrap',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'weight' => array(
'label' => 'Weight',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'set_precision' => FALSE,
'precision' => 0,
'decimal' => '.',
'separator' => ',',
'prefix' => '',
'suffix' => '',
'exclude' => 1,
'id' => 'weight',
'table' => 'system',
'field' => 'weight',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'schema_version' => array(
'label' => 'Schema',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'set_precision' => FALSE,
'precision' => 0,
'decimal' => '.',
'separator' => ',',
'prefix' => '',
'suffix' => '',
'exclude' => 1,
'id' => 'schema_version',
'table' => 'system',
'field' => 'schema_version',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'info_package' => array(
'label' => 'Package',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'exclude' => 0,
'id' => 'info_package',
'table' => 'system',
'field' => 'info_package',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'info_dependencies' => array(
'label' => 'Dependencies',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'type' => 'separator',
'separator' => ', ',
'exclude' => 0,
'id' => 'info_dependencies',
'table' => 'system',
'field' => 'info_dependencies',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
));
$handler->override_option('filters', array(
'name' => array(
'operator' => 'contains',
'value' => '',
'group' => '0',
'exposed' => TRUE,
'expose' => array(
'use_operator' => 1,
'operator' => 'name_op',
'identifier' => 'name',
'label' => 'Name',
'optional' => 1,
'remember' => 0,
),
'case' => 0,
'id' => 'name',
'table' => 'system',
'field' => 'name',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'filename' => array(
'operator' => 'contains',
'value' => '',
'group' => '0',
'exposed' => TRUE,
'expose' => array(
'use_operator' => 1,
'operator' => 'filename_op',
'identifier' => 'filename',
'label' => 'Filename',
'optional' => 1,
'remember' => 0,
),
'case' => 0,
'id' => 'filename',
'table' => 'system',
'field' => 'filename',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'drupal_core' => array(
'operator' => '=',
'value' => 'All',
'group' => '0',
'exposed' => TRUE,
'expose' => array(
'operator' => '',
'identifier' => 'drupal_core',
'label' => 'Core',
'optional' => 1,
'remember' => 0,
),
'id' => 'drupal_core',
'table' => 'system',
'field' => 'drupal_core',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'status' => array(
'operator' => '=',
'value' => 'All',
'group' => '0',
'exposed' => TRUE,
'expose' => array(
'operator' => '',
'identifier' => 'status',
'label' => 'Status',
'optional' => 1,
'remember' => 0,
),
'id' => 'status',
'table' => 'system',
'field' => 'status',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'bootstrap' => array(
'operator' => '=',
'value' => 'All',
'group' => '0',
'exposed' => TRUE,
'expose' => array(
'operator' => '',
'identifier' => 'bootstrap',
'label' => 'Bootstrap',
'optional' => 1,
'remember' => 0,
),
'id' => 'bootstrap',
'table' => 'system',
'field' => 'bootstrap',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'type' => array(
'operator' => 'in',
'value' => array(
'module' => 'module',
),
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
),
'id' => 'type',
'table' => 'system',
'field' => 'type',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
));
$handler->override_option('title', 'System Modules');
$handler->override_option('header', 'Here you can find information about your system modules.');
$handler->override_option('style_options', array(
'grouping' => 'info_project',
'override' => 1,
'sticky' => 0,
'order' => 'asc',
'columns' => array(
'info_project' => 'info_project',
'info_name' => 'info_name',
'name' => 'name',
'info_description' => 'info_description',
'filename' => 'filename',
'info_datestamp' => 'info_datestamp',
'info_version' => 'info_version',
'drupal_core' => 'drupal_core',
'status' => 'status',
'bootstrap' => 'bootstrap',
'weight' => 'weight',
'schema_version' => 'schema_version',
'info_package' => 'info_package',
'info_dependencies' => 'info_dependencies',
),
'info' => array(
'info_project' => array(
'separator' => '',
),
'info_name' => array(
'separator' => '',
),
'name' => array(
'sortable' => 1,
'separator' => '',
),
'info_description' => array(
'separator' => '',
),
'filename' => array(
'sortable' => 1,
'separator' => '',
),
'info_datestamp' => array(
'separator' => '',
),
'info_version' => array(
'separator' => '',
),
'drupal_core' => array(
'separator' => '',
),
'status' => array(
'sortable' => 1,
'separator' => '',
),
'bootstrap' => array(
'sortable' => 1,
'separator' => '',
),
'weight' => array(
'sortable' => 1,
'separator' => '',
),
'schema_version' => array(
'sortable' => 1,
'separator' => '',
),
'info_package' => array(
'separator' => '',
),
'info_dependencies' => array(
'separator' => '',
),
),
'default' => 'name',
));
$handler->override_option('path', 'admin/reports/system/modules');
$handler->override_option('menu', array(
'type' => 'tab',
'title' => 'Modules',
'description' => 'Displays a table with the system modules.',
'weight' => '1',
'name' => 'navigation',
));
$handler->override_option('tab_options', array(
'type' => 'none',
'title' => '',
'description' => '',
'weight' => 0,
'name' => 'navigation',
));
$handler = $view->new_display('page', 'Admin: Themes', 'page_3');
$handler->override_option('fields', array(
'info_project' => array(
'label' => 'Project',
'alter' => array(
'alter_text' => 1,
'text' => '[info_project]',
'make_link' => 1,
'path' => 'http://drupal.org/project/[info_project]',
'link_class' => '',
'alt' => '[info_project]',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'exclude' => 1,
'id' => 'info_project',
'table' => 'system',
'field' => 'info_project',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'info_name' => array(
'label' => 'Display name',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'exclude' => 1,
'id' => 'info_name',
'table' => 'system',
'field' => 'info_name',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'name' => array(
'label' => 'Name',
'alter' => array(
'alter_text' => 1,
'text' => '[info_name]
([name])',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'exclude' => 0,
'id' => 'name',
'table' => 'system',
'field' => 'name',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'info_description' => array(
'label' => 'Description',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'exclude' => 0,
'id' => 'info_description',
'table' => 'system',
'field' => 'info_description',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'filename' => array(
'label' => 'Filename',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'exclude' => 0,
'id' => 'filename',
'table' => 'system',
'field' => 'filename',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'info_datestamp' => array(
'label' => 'Date',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'date_format' => 'time ago',
'custom_date_format' => '',
'exclude' => 1,
'id' => 'info_datestamp',
'table' => 'system',
'field' => 'info_datestamp',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'info_version' => array(
'label' => 'Version',
'alter' => array(
'alter_text' => 1,
'text' => '[info_version]
([info_datestamp])',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'exclude' => 0,
'id' => 'info_version',
'table' => 'system',
'field' => 'info_version',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'drupal_core' => array(
'label' => 'Core',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'type' => 'yes-no',
'not' => 0,
'exclude' => 0,
'id' => 'drupal_core',
'table' => 'system',
'field' => 'drupal_core',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'status' => array(
'label' => 'Status',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'type' => 'on-off',
'not' => 0,
'exclude' => 0,
'id' => 'status',
'table' => 'system',
'field' => 'status',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'info_engine' => array(
'label' => 'Engine',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'exclude' => 0,
'id' => 'info_engine',
'table' => 'system',
'field' => 'info_engine',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'info_basetheme' => array(
'label' => 'Base theme',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'exclude' => 0,
'id' => 'info_basetheme',
'table' => 'system',
'field' => 'info_basetheme',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'info_screenshot' => array(
'label' => 'Screenshot',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'system_info_screenshot_image' => 1,
'exclude' => 0,
'id' => 'info_screenshot',
'table' => 'system',
'field' => 'info_screenshot',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
));
$handler->override_option('filters', array(
'name' => array(
'operator' => 'contains',
'value' => '',
'group' => '0',
'exposed' => TRUE,
'expose' => array(
'use_operator' => 1,
'operator' => 'name_op',
'identifier' => 'name',
'label' => 'Name',
'optional' => 1,
'remember' => 0,
),
'case' => 0,
'id' => 'name',
'table' => 'system',
'field' => 'name',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'filename' => array(
'operator' => 'contains',
'value' => '',
'group' => '0',
'exposed' => TRUE,
'expose' => array(
'use_operator' => 1,
'operator' => 'filename_op',
'identifier' => 'filename',
'label' => 'Filename',
'optional' => 1,
'remember' => 0,
),
'case' => 0,
'id' => 'filename',
'table' => 'system',
'field' => 'filename',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'drupal_core' => array(
'operator' => '=',
'value' => 'All',
'group' => '0',
'exposed' => TRUE,
'expose' => array(
'operator' => '',
'identifier' => 'drupal_core',
'label' => 'Core',
'optional' => 1,
'remember' => 0,
),
'id' => 'drupal_core',
'table' => 'system',
'field' => 'drupal_core',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'status' => array(
'operator' => '=',
'value' => 'All',
'group' => '0',
'exposed' => TRUE,
'expose' => array(
'operator' => '',
'identifier' => 'status',
'label' => 'Status',
'optional' => 1,
'remember' => 0,
),
'id' => 'status',
'table' => 'system',
'field' => 'status',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'type' => array(
'operator' => 'in',
'value' => array(
'theme' => 'theme',
),
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => 'type_op',
'label' => 'System: Type',
'use_operator' => FALSE,
'identifier' => 'type',
'remember' => FALSE,
'single' => TRUE,
'optional' => TRUE,
'reduce' => FALSE,
),
'id' => 'type',
'table' => 'system',
'field' => 'type',
'relationship' => 'none',
'override' => array(
'button' => 'Use default',
),
),
));
$handler->override_option('title', 'System Themes');
$handler->override_option('header', 'Here you can find information about your system themes.');
$handler->override_option('style_options', array(
'grouping' => 'info_project',
'override' => 1,
'sticky' => 0,
'order' => 'asc',
'columns' => array(
'info_project' => 'info_project',
'info_name' => 'info_name',
'name' => 'name',
'info_description' => 'info_description',
'filename' => 'filename',
'info_datestamp' => 'info_datestamp',
'info_version' => 'info_version',
'drupal_core' => 'drupal_core',
'status' => 'status',
'info_engine' => 'info_engine',
'info_basetheme' => 'info_basetheme',
'info_screenshot' => 'info_screenshot',
),
'info' => array(
'info_project' => array(
'separator' => '',
),
'info_name' => array(
'separator' => '',
),
'name' => array(
'sortable' => 1,
'separator' => '',
),
'info_description' => array(
'separator' => '',
),
'filename' => array(
'sortable' => 1,
'separator' => '',
),
'info_datestamp' => array(
'separator' => '',
),
'info_version' => array(
'separator' => '',
),
'drupal_core' => array(
'separator' => '',
),
'status' => array(
'sortable' => 1,
'separator' => '',
),
'info_engine' => array(
'separator' => '',
),
'info_basetheme' => array(
'separator' => '',
),
'info_screenshot' => array(
'separator' => '',
),
),
'default' => 'name',
));
$handler->override_option('path', 'admin/reports/system/themes');
$handler->override_option('menu', array(
'type' => 'tab',
'title' => 'Themes',
'description' => 'Displays a table with the system themes.',
'weight' => '2',
'name' => 'navigation',
));
$handler->override_option('tab_options', array(
'type' => 'none',
'title' => '',
'description' => '',
'weight' => 0,
'name' => 'navigation',
));
$handler = $view->new_display('page', 'Public: All', 'page_4');
$handler->override_option('fields', array(
'info_project' => array(
'label' => 'Project',
'alter' => array(
'alter_text' => 1,
'text' => '[info_project]',
'make_link' => 1,
'path' => 'http://drupal.org/project/[info_project]',
'link_class' => '',
'alt' => '[info_project]',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'exclude' => 1,
'id' => 'info_project',
'table' => 'system',
'field' => 'info_project',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'info_name' => array(
'label' => '',
'alter' => array(
'alter_text' => 1,
'text' => '[info_name]',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'exclude' => 0,
'id' => 'info_name',
'table' => 'system',
'field' => 'info_name',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'name' => array(
'label' => '',
'alter' => array(
'alter_text' => 1,
'text' => '([name])',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'exclude' => 0,
'id' => 'name',
'table' => 'system',
'field' => 'name',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'drupal_core' => array(
'label' => 'Core',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'type' => 'yes-no',
'not' => 0,
'exclude' => 0,
'id' => 'drupal_core',
'table' => 'system',
'field' => 'drupal_core',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'type' => array(
'label' => 'Type',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'exclude' => 0,
'id' => 'type',
'table' => 'system',
'field' => 'type',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'bootstrap' => array(
'label' => 'Bootstrap',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 1,
'empty_zero' => 0,
'type' => 'yes-no',
'not' => 0,
'exclude' => 0,
'id' => 'bootstrap',
'table' => 'system',
'field' => 'bootstrap',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'info_package' => array(
'label' => 'Package',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 1,
'empty_zero' => 0,
'exclude' => 0,
'id' => 'info_package',
'table' => 'system',
'field' => 'info_package',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'info_engine' => array(
'label' => 'Engine',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 1,
'empty_zero' => 0,
'exclude' => 0,
'id' => 'info_engine',
'table' => 'system',
'field' => 'info_engine',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'info_basetheme' => array(
'label' => 'Base theme',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 1,
'empty_zero' => 0,
'exclude' => 0,
'id' => 'info_basetheme',
'table' => 'system',
'field' => 'info_basetheme',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'info_screenshot' => array(
'label' => '',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 1,
'empty_zero' => 0,
'system_info_screenshot_image' => 1,
'exclude' => 0,
'id' => 'info_screenshot',
'table' => 'system',
'field' => 'info_screenshot',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
));
$handler->override_option('filters', array(
'status' => array(
'operator' => '=',
'value' => '1',
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => '',
'label' => 'Status',
'identifier' => 'status',
'optional' => 1,
'remember' => 0,
),
'id' => 'status',
'table' => 'system',
'field' => 'status',
'override' => array(
'button' => 'Use default',
),
'relationship' => 'none',
),
'type' => array(
'operator' => 'in',
'value' => array(
'module' => 'module',
'theme' => 'theme',
),
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => 'type_op',
'label' => 'Type',
'use_operator' => 1,
'identifier' => 'type',
'optional' => 1,
'single' => 0,
'remember' => 0,
'reduce' => 0,
),
'id' => 'type',
'table' => 'system',
'field' => 'type',
'relationship' => 'none',
'override' => array(
'button' => 'Use default',
),
),
));
$handler->override_option('title', 'System Modules and Themes');
$handler->override_option('header', 'List of modules and themes enabled for this site.');
$handler->override_option('style_plugin', 'grid');
$handler->override_option('style_options', array(
'grouping' => 'info_project',
'columns' => '4',
'alignment' => 'horizontal',
'fill_single_line' => 1,
));
$handler->override_option('row_options', array(
'inline' => array(
'info_name' => 'info_name',
'name' => 'name',
),
'separator' => '',
'hide_empty' => 1,
));
$handler->override_option('path', 'system');
$handler->override_option('menu', array(
'type' => 'normal',
'title' => 'System Modules and Themes',
'description' => 'Displays a grid with the enabled system modules and themes.',
'weight' => '0',
'name' => 'navigation',
));
$handler->override_option('tab_options', array(
'type' => 'none',
'title' => '',
'description' => '',
'weight' => 0,
'name' => 'navigation',
));