Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
R
r-test
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
Telenkov Ruslan
r-test
Commits
d6d67836
Commit
d6d67836
authored
Apr 28, 2022
by
Telenkov Ruslan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3 done
parent
45611519
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
49 additions
and
2 deletions
+49
-2
composer.json
app/composer.json
+1
-0
composer.lock
app/composer.lock
+45
-1
MyNodeQueueWorker.php
...om/myservice/src/Plugin/QueueWorker/MyNodeQueueWorker.php
+3
-0
MySecondQueueWorker.php
.../myservice/src/Plugin/QueueWorker/MySecondQueueWorker.php
+0
-1
No files found.
app/composer.json
View file @
d6d67836
...
@@ -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"
,
...
...
app/composer.lock
View file @
d6d67836
...
@@ -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",
...
...
app/docroot/modules/custom/myservice/src/Plugin/QueueWorker/MyNodeQueueWorker.php
View file @
d6d67836
...
@@ -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
);
}
}
/**
/**
...
...
app/docroot/modules/custom/myservice/src/Plugin/QueueWorker/MySecondQueueWorker.php
View file @
d6d67836
...
@@ -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
();
}
}
}
}
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment