Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / chi-teck / drupal-code-generator / templates / d8 / hook / node_access_records.twig
index d0818ef20689b5508b07e939baaddd237aca2fd3..599cf06afac9d0b8bff5bf5c7f42b94ff431e7eb 100644 (file)
@@ -16,7 +16,7 @@ function {{ machine_name }}_node_access_records(\Drupal\node\NodeInterface $node
         'grant_view' => 1,
         'grant_update' => 0,
         'grant_delete' => 0,
-        'langcode' => 'ca'
+        'langcode' => 'ca',
       ];
     }
     // For the example_author array, the GID is equivalent to a UID, which
@@ -30,7 +30,7 @@ function {{ machine_name }}_node_access_records(\Drupal\node\NodeInterface $node
         'grant_view' => 1,
         'grant_update' => 1,
         'grant_delete' => 1,
-        'langcode' => 'ca'
+        'langcode' => 'ca',
       ];
     }