Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / modules / contrib / migrate_plus / migrate_example_advanced / migrate_example_advanced_setup / src / Plugin / rest / resource / VarietyItems.php
index a149860367e78bfc9a386e6fab94791f49865e26..670134c3455ad09f897aec759b198581fd0c1ffa 100644 (file)
@@ -31,22 +31,26 @@ class VarietyItems extends ResourceBase {
     $varieties = [
       'retsina' => [
         'name' => 'Retsina',
-        'parent' => 1,  // categoryid for 'white'.
+        // The categoryid for 'white'.
+        'parent' => 1,
         'details' => 'Greek',
       ],
       'trebbiano' => [
         'name' => 'Trebbiano',
-        'parent' => 1,  // categoryid for 'white'.
+        // The categoryid for 'white'.
+        'parent' => 1,
         'details' => 'Italian',
       ],
       'valpolicella' => [
         'name' => 'Valpolicella',
-        'parent' => 3,  // categoryid for 'red'.
+        // The categoryid for 'red'.
+        'parent' => 3,
         'details' => 'Italian Venoto region',
       ],
       'bardolino' => [
         'name' => 'Bardolino',
-        'parent' => 3,  // categoryid for 'red'.
+        // The categoryid for 'red'.
+        'parent' => 3,
         'details' => 'Italian Venoto region',
       ],
     ];