Mercurial > hg > cmmr2012-drupal-site
annotate vendor/chi-teck/drupal-code-generator/templates/d7/views-plugin/argument-default-views.inc.twig @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | c75dbcec494b |
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 } |