123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452 |
- <?php
- /**
- * @file
- * metatag_views_tests.views_default.inc
- */
- /**
- * Implements hook_views_default_views().
- */
- function metatag_views_tests_views_default_views() {
- $export = array();
- $view = new view();
- $view->name = 'metatag_views_test';
- $view->description = '';
- $view->tag = 'default';
- $view->base_table = 'node';
- $view->human_name = 'Metatag Views test';
- $view->core = 7;
- $view->api_version = '3.0';
- $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
- /* Display: Master */
- $handler = $view->new_display('default', 'Master', 'default');
- $handler->display->display_options['title'] = 'Metatag Views test';
- $handler->display->display_options['use_more_always'] = FALSE;
- $handler->display->display_options['access']['type'] = 'perm';
- $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['pager']['options']['items_per_page'] = '5';
- $handler->display->display_options['style_plugin'] = 'default';
- $handler->display->display_options['row_plugin'] = 'node';
- $handler->display->display_options['row_options']['links'] = FALSE;
- /* Field: Content: Title */
- $handler->display->display_options['fields']['title']['id'] = 'title';
- $handler->display->display_options['fields']['title']['table'] = 'node';
- $handler->display->display_options['fields']['title']['field'] = 'title';
- $handler->display->display_options['fields']['title']['label'] = '';
- $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
- $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
- /* Sort criterion: Content: Post date */
- $handler->display->display_options['sorts']['created']['id'] = 'created';
- $handler->display->display_options['sorts']['created']['table'] = 'node';
- $handler->display->display_options['sorts']['created']['field'] = 'created';
- $handler->display->display_options['sorts']['created']['order'] = 'DESC';
- /* Filter criterion: Content: Published */
- $handler->display->display_options['filters']['status']['id'] = 'status';
- $handler->display->display_options['filters']['status']['table'] = 'node';
- $handler->display->display_options['filters']['status']['field'] = 'status';
- $handler->display->display_options['filters']['status']['value'] = 1;
- $handler->display->display_options['filters']['status']['group'] = 1;
- $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
- /* Display: Page */
- $handler = $view->new_display('page', 'Page', 'page');
- $handler->display->display_options['metatags'] = array(
- 'und' => array(
- 'title' => array(
- 'value' => 'Test Views page title',
- 'default' => '[view:title] | [current-page:pager][site:name]',
- ),
- 'description' => array(
- 'value' => 'Testing Metatag:Views.',
- 'default' => '[view:description]',
- ),
- 'abstract' => array(
- 'value' => '',
- ),
- 'keywords' => array(
- 'value' => 'Test, page, keywords',
- ),
- 'robots' => array(
- 'value' => array(
- 'index' => 0,
- 'follow' => 0,
- 'noindex' => 0,
- 'nofollow' => 0,
- 'noarchive' => 0,
- 'nosnippet' => 0,
- 'noodp' => 0,
- 'noydir' => 0,
- 'noimageindex' => 0,
- 'notranslate' => 0,
- ),
- ),
- 'news_keywords' => array(
- 'value' => '',
- ),
- 'standout' => array(
- 'value' => '',
- ),
- 'rating' => array(
- 'value' => '',
- ),
- 'referrer' => array(
- 'value' => '',
- ),
- 'rights' => array(
- 'value' => '',
- ),
- 'image_src' => array(
- 'value' => '',
- ),
- 'canonical' => array(
- 'value' => '[view:url]',
- 'default' => '[view:url]',
- ),
- 'shortlink' => array(
- 'value' => '[current-page:url:unaliased]',
- 'default' => '[current-page:url:unaliased]',
- ),
- 'publisher' => array(
- 'value' => '',
- ),
- 'author' => array(
- 'value' => '',
- ),
- 'original-source' => array(
- 'value' => '',
- ),
- 'prev' => array(
- 'value' => '',
- ),
- 'next' => array(
- 'value' => '',
- ),
- 'revisit-after' => array(
- 'value' => '',
- 'period' => '',
- ),
- 'content-language' => array(
- 'value' => '',
- ),
- 'geo.position' => array(
- 'value' => '',
- ),
- 'geo.placename' => array(
- 'value' => '',
- ),
- 'geo.region' => array(
- 'value' => '',
- ),
- 'icbm' => array(
- 'value' => '',
- ),
- 'refresh' => array(
- 'value' => '',
- ),
- 'itemtype' => array(
- 'value' => '',
- ),
- 'itemprop:name' => array(
- 'value' => '[current-page:title]',
- 'default' => '[current-page:title]',
- ),
- 'itemprop:description' => array(
- 'value' => '',
- ),
- 'itemprop:image' => array(
- 'value' => '',
- ),
- 'theme-color' => array(
- 'value' => '',
- ),
- 'MobileOptimized' => array(
- 'value' => '',
- ),
- 'HandheldFriendly' => array(
- 'value' => '',
- ),
- 'viewport' => array(
- 'value' => '',
- ),
- 'cleartype' => array(
- 'value' => '',
- ),
- 'apple-itunes-app' => array(
- 'value' => '',
- ),
- 'apple-mobile-web-app-capable' => array(
- 'value' => '',
- ),
- 'apple-mobile-web-app-status-bar-style' => array(
- 'value' => '',
- ),
- 'format-detection' => array(
- 'value' => '',
- ),
- 'ios-app-link-alternative' => array(
- 'value' => '',
- ),
- 'android-app-link-alternative' => array(
- 'value' => '',
- ),
- 'android-manifest' => array(
- 'value' => '',
- ),
- 'x-ua-compatible' => array(
- 'value' => '',
- ),
- 'application-name' => array(
- 'value' => '',
- ),
- 'msapplication-allowDomainApiCalls' => array(
- 'value' => '',
- ),
- 'msapplication-allowDomainMetaTags' => array(
- 'value' => '',
- ),
- 'msapplication-badge' => array(
- 'value' => '',
- ),
- 'msapplication-config' => array(
- 'value' => '',
- ),
- 'msapplication-navbutton-color' => array(
- 'value' => '',
- ),
- 'msapplication-notification' => array(
- 'value' => '',
- ),
- 'msapplication-square150x150logo' => array(
- 'value' => '',
- ),
- 'msapplication-square310x310logo' => array(
- 'value' => '',
- ),
- 'msapplication-square70x70logo' => array(
- 'value' => '',
- ),
- 'msapplication-wide310x150logo' => array(
- 'value' => '',
- ),
- 'msapplication-starturl' => array(
- 'value' => '',
- ),
- 'msapplication-task' => array(
- 'value' => '',
- ),
- 'msapplication-task-separator' => array(
- 'value' => '',
- ),
- 'msapplication-tilecolor' => array(
- 'value' => '',
- ),
- 'msapplication-tileimage' => array(
- 'value' => '',
- ),
- 'msapplication-tooltip' => array(
- 'value' => '',
- ),
- 'msapplication-window' => array(
- 'value' => '',
- ),
- 'og:type' => array(
- 'value' => 'article',
- 'default' => 'article',
- ),
- 'og:url' => array(
- 'value' => '[current-page:url:absolute]',
- 'default' => '[current-page:url:absolute]',
- ),
- 'og:title' => array(
- 'value' => '[current-page:title]',
- 'default' => '[current-page:title]',
- ),
- 'og:determiner' => array(
- 'value' => '',
- ),
- 'og:description' => array(
- 'value' => '',
- ),
- 'og:updated_time' => array(
- 'value' => '',
- ),
- 'og:see_also' => array(
- 'value' => '',
- ),
- 'og:image' => array(
- 'value' => '',
- ),
- 'og:image:url' => array(
- 'value' => '',
- ),
- 'og:image:secure_url' => array(
- 'value' => '',
- ),
- 'og:image:type' => array(
- 'value' => '',
- ),
- 'og:image:width' => array(
- 'value' => '',
- ),
- 'og:image:height' => array(
- 'value' => '',
- ),
- 'og:latitude' => array(
- 'value' => '',
- ),
- 'og:longitude' => array(
- 'value' => '',
- ),
- 'og:street_address' => array(
- 'value' => '',
- ),
- 'og:locality' => array(
- 'value' => '',
- ),
- 'og:region' => array(
- 'value' => '',
- ),
- 'og:postal_code' => array(
- 'value' => '',
- ),
- 'og:country_name' => array(
- 'value' => '',
- ),
- 'og:email' => array(
- 'value' => '',
- ),
- 'og:phone_number' => array(
- 'value' => '',
- ),
- 'og:fax_number' => array(
- 'value' => '',
- ),
- 'og:locale' => array(
- 'value' => '',
- ),
- 'og:locale:alternate' => array(
- 'value' => '',
- ),
- 'article:author' => array(
- 'value' => '',
- ),
- 'article:publisher' => array(
- 'value' => '',
- ),
- 'article:section' => array(
- 'value' => '',
- ),
- 'article:tag' => array(
- 'value' => '',
- ),
- 'article:published_time' => array(
- 'value' => '',
- ),
- 'article:modified_time' => array(
- 'value' => '',
- ),
- 'article:expiration_time' => array(
- 'value' => '',
- ),
- 'profile:first_name' => array(
- 'value' => '',
- ),
- 'profile:last_name' => array(
- 'value' => '',
- ),
- 'profile:username' => array(
- 'value' => '',
- ),
- 'profile:gender' => array(
- 'value' => '',
- ),
- 'og:audio' => array(
- 'value' => '',
- ),
- 'og:audio:secure_url' => array(
- 'value' => '',
- ),
- 'og:audio:type' => array(
- 'value' => '',
- ),
- 'book:author' => array(
- 'value' => '',
- ),
- 'book:isbn' => array(
- 'value' => '',
- ),
- 'book:release_date' => array(
- 'value' => '',
- ),
- 'book:tag' => array(
- 'value' => '',
- ),
- 'og:video:url' => array(
- 'value' => '',
- ),
- 'og:video:secure_url' => array(
- 'value' => '',
- ),
- 'og:video:width' => array(
- 'value' => '',
- ),
- 'og:video:height' => array(
- 'value' => '',
- ),
- 'og:video:type' => array(
- 'value' => '',
- ),
- 'video:actor' => array(
- 'value' => '',
- ),
- 'video:actor:role' => array(
- 'value' => '',
- ),
- 'video:director' => array(
- 'value' => '',
- ),
- 'video:writer' => array(
- 'value' => '',
- ),
- 'video:duration' => array(
- 'value' => '',
- ),
- 'video:release_date' => array(
- 'value' => '',
- ),
- 'video:tag' => array(
- 'value' => '',
- ),
- 'video:series' => array(
- 'value' => '',
- ),
- ),
- );
- $handler->display->display_options['path'] = 'metatag-views-test';
- $translatables['metatag_views_test'] = array(
- t('Master'),
- t('Metatag Views i18n test'),
- t('more'),
- t('Apply'),
- t('Reset'),
- t('Sort by'),
- t('Asc'),
- t('Desc'),
- t('Items per page'),
- t('- All -'),
- t('Offset'),
- t('« first'),
- t('‹ previous'),
- t('next ›'),
- t('last »'),
- t('Page'),
- );
- $export['metatag_views_test'] = $view;
- return $export;
- }
|