This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
drupalcampbristol/vendor/chi-teck/drupal-code-generator/templates/d7/views-plugin/argument-default-views.inc.twig
2018-11-23 12:29:20 +00:00

22 lines
442 B
Twig

<?php
/**
* @file
* Provide views data and handlers for {{ name }} module.
*/
/**
* Implements hook_views_plugins().
*/
function {{ machine_name }}_views_plugins() {
return array(
'module' => '{{ machine_name }}',
'argument default' => array(
'{{ plugin_machine_name }}' => array(
'title' => t('{{ plugin_name }}'),
'handler' => 'views_plugin_argument_{{ plugin_machine_name }}',
),
),
);
}