$view = new view;
$view->name = 'enabled_modules_admin';
$view->description = 'A view designed for site administrators, listing enabled modules in this Drupal installation with links to administer.';
$view->tag = 'enabled_modules';
$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(
'version' => array(
'label' => 'Version',
'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' => 'version',
'table' => 'enabled_modules_system',
'field' => 'version',
'override' => array(
'button' => 'Override',
),
'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' => 0,
'id' => 'weight',
'table' => 'system',
'field' => 'weight',
'override' => array(
'button' => 'Override',
),
'relationship' => 'none',
),
'package' => array(
'label' => 'Package',
'alter' => array(
'alter_text' => 0,
'text' => '
[filename]
[description]',
'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',
'relationship' => 'none',
'override' => array(
'button' => 'Override',
),
),
'description' => array(
'label' => 'Description',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 1,
'max_length' => '100',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'exclude' => 1,
'id' => 'description',
'table' => 'enabled_modules_system',
'field' => 'description',
'relationship' => 'none',
'override' => array(
'button' => 'Override',
),
),
));
$handler->override_option('sorts', array(
'package' => array(
'order' => 'ASC',
'id' => 'package',
'table' => 'enabled_modules_system',
'field' => 'package',
'override' => array(
'button' => 'Override',
),
'relationship' => 'none',
),
));
$handler->override_option('filters', array(
'type' => array(
'operator' => '=',
'value' => 'module',
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => 'type_op',
'label' => 'System: Type',
'use_operator' => 0,
'identifier' => 'type',
'optional' => 1,
'remember' => 0,
),
'case' => 0,
'id' => 'type',
'table' => 'system',
'field' => 'type',
'relationship' => 'none',
'override' => array(
'button' => 'Override',
),
),
'status' => array(
'operator' => '=',
'value' => '1',
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
),
'id' => 'status',
'table' => 'system',
'field' => 'status',
'relationship' => 'none',
),
));
$handler->override_option('access', array(
'type' => 'perm',
'perm' => 'access site reports',
));
$handler->override_option('cache', array(
'type' => 'none',
));
$handler->override_option('title', 'Enabled Modules');
$handler->override_option('header', 'Drupal installed directory: