Yaffs site version 1.1
[yaffs-website] / vendor / drupal / console / templates / module / module.views.inc.twig
index daf921f232caca25d8c55e26f5861bb2895d2d5f..98e755c135f3b83576b9cea9fe7d1a6723798fb3 100644 (file)
@@ -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;
 }