X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fdrupal%2Fconsole%2Ftemplates%2Fmodule%2Fmodule.views.inc.twig;h=98e755c135f3b83576b9cea9fe7d1a6723798fb3;hp=daf921f232caca25d8c55e26f5861bb2895d2d5f;hb=eba34333e3c89f208d2f72fa91351ad019a71583;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae diff --git a/vendor/drupal/console/templates/module/module.views.inc.twig b/vendor/drupal/console/templates/module/module.views.inc.twig index daf921f23..98e755c13 100644 --- a/vendor/drupal/console/templates/module/module.views.inc.twig +++ b/vendor/drupal/console/templates/module/module.views.inc.twig @@ -21,19 +21,19 @@ use Drupal\system\ActionConfigEntityInterface; function {{module}}_views_data() { $data['views']['table']['group'] = t('Custom Global'); - $data['views']['table']['join'] = array( + $data['views']['table']['join'] = [ // #global is a special flag which allows a table to appear all the time. - '#global' => array(), - ); + '#global' => [], + ]; - $data['views']['{{ class_machine_name }}'] = array( + $data['views']['{{ class_machine_name }}'] = [ 'title' => t('{{ title }}'), 'help' => t('{{ description }}'), - 'field' => array( + 'field' => [ 'id' => '{{ class_machine_name }}', - ), - ); + ], + ]; return $data; }