Commit d6d67836 authored by Telenkov Ruslan's avatar Telenkov Ruslan

3 done

parent 45611519
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
"drupal/twig_field_value": "^2.0", "drupal/twig_field_value": "^2.0",
"drupal/twig_tweak": "^3.1", "drupal/twig_tweak": "^3.1",
"drupal/ultimate_cron": "^2.8", "drupal/ultimate_cron": "^2.8",
"drupal/verf": "^1.0",
"drupal/webform": "^6.1", "drupal/webform": "^6.1",
"drush/drush": "^10.3", "drush/drush": "^10.3",
"hirak/prestissimo": "^0.3.7", "hirak/prestissimo": "^0.3.7",
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "854deeed64fa5e16b6ea003e4348660d", "content-hash": "005a065b07852908b016a4220a7fc7b9",
"packages": [ "packages": [
{ {
"name": "asm89/stack-cors", "name": "asm89/stack-cors",
...@@ -4431,6 +4431,50 @@ ...@@ -4431,6 +4431,50 @@
}, },
"time": "2020-09-24T06:25:51+00:00" "time": "2020-09-24T06:25:51+00:00"
}, },
{
"name": "drupal/verf",
"version": "1.0.0",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/verf.git",
"reference": "8.x-1.0"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/verf-8.x-1.0.zip",
"reference": "8.x-1.0",
"shasum": "ac894cf041ae51170e619d60b9c2884c50fc5cfc"
},
"require": {
"drupal/core": "^8 || ^9"
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "8.x-1.0",
"datestamp": "1601470515",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
}
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "legolasbo",
"homepage": "https://www.drupal.org/user/2480548"
}
],
"description": "Provides Views filters for entity reference fields.",
"homepage": "https://www.drupal.org/project/verf",
"support": {
"source": "https://git.drupalcode.org/project/verf"
}
},
{ {
"name": "drupal/webform", "name": "drupal/webform",
"version": "6.1.3", "version": "6.1.3",
......
...@@ -58,6 +58,9 @@ public function processItem($data){ ...@@ -58,6 +58,9 @@ public function processItem($data){
elseif ($type_of_node == 'vehicles'){ elseif ($type_of_node == 'vehicles'){
$this->createVehiclesNode($counter,$data,$node_id); $this->createVehiclesNode($counter,$data,$node_id);
} }
$secondQueue = \Drupal::queue('my_second_node_queue');
$secondQueue->createItem($data);
} }
/** /**
......
...@@ -134,7 +134,6 @@ class MySecondQueueWorker extends QueueWorkerBase ...@@ -134,7 +134,6 @@ class MySecondQueueWorker extends QueueWorkerBase
$node->set('field_homeworld', $id_array); $node->set('field_homeworld', $id_array);
$node->save(); $node->save();
} }
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment