1.20.x views_view.test | ViewsViewTest::view_test_delete() |
File
- modules/
views/ tests/ views_view.test, line 246 - Definition of ViewsViewTest.
Class
- ViewsViewTest
- Views class tests.
Code
function view_test_delete() {
$view = new view;
$view->name = 'test_view_delete';
$view->description = '';
$view->tag = '';
$view->base_table = 'node';
$view->human_name = 'test_view_delete';
$view->core = 7;
$view->api_version = '3.0-alpha1';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
/* Display: Defaults */
$handler = $view->new_display('default', 'Defaults', 'default');
$handler->display->display_options['access']['type'] = 'none';
$handler->display->display_options['cache']['type'] = 'none';
$handler->display->display_options['query']['type'] = 'views_query';
$handler->display->display_options['exposed_form']['type'] = 'basic';
$handler->display->display_options['pager']['type'] = 'full';
$handler->display->display_options['style_plugin'] = 'default';
$handler->display->display_options['row_plugin'] = 'fields';
$translatables['test_view_delete'] = array(
t('Defaults'),
t('more'),
t('Apply'),
t('Reset'),
t('Sort By'),
t('Asc'),
t('Desc'),
t('Items per page'),
t('- All -'),
t('Offset'),
);
return $view;
}