Mercurial > hg > cmmr2012-drupal-site
annotate vendor/chi-teck/drupal-code-generator/templates/d7/views-plugin/argument-default-views.inc.twig @ 0:c75dbcec494b
Initial commit from drush-created site
author | Chris Cannam |
---|---|
date | Thu, 05 Jul 2018 14:24:15 +0000 |
parents | |
children |
rev | line source |
---|---|
Chris@0 | 1 <?php |
Chris@0 | 2 |
Chris@0 | 3 /** |
Chris@0 | 4 * @file |
Chris@0 | 5 * Provide views data and handlers for {{ name }} module. |
Chris@0 | 6 */ |
Chris@0 | 7 |
Chris@0 | 8 /** |
Chris@0 | 9 * Implements hook_views_plugins(). |
Chris@0 | 10 */ |
Chris@0 | 11 function {{ machine_name }}_views_plugins() { |
Chris@0 | 12 return array( |
Chris@0 | 13 'module' => '{{ machine_name }}', |
Chris@0 | 14 'argument default' => array( |
Chris@0 | 15 '{{ plugin_machine_name }}' => array( |
Chris@0 | 16 'title' => t('{{ plugin_name }}'), |
Chris@0 | 17 'handler' => 'views_plugin_argument_{{ plugin_machine_name }}', |
Chris@0 | 18 ), |
Chris@0 | 19 ), |
Chris@0 | 20 ); |
Chris@0 | 21 } |