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
0a69a484
Commit
0a69a484
authored
Apr 28, 2022
by
Telenkov Ruslan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3 done 4 d
parent
d6d67836
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
76 additions
and
3 deletions
+76
-3
composer.json
app/composer.json
+1
-0
composer.lock
app/composer.lock
+73
-1
MyNodeQueueWorker.php
...om/myservice/src/Plugin/QueueWorker/MyNodeQueueWorker.php
+2
-2
No files found.
app/composer.json
View file @
0a69a484
...
@@ -38,6 +38,7 @@
...
@@ -38,6 +38,7 @@
"drupal/rabbit_hole"
:
"^2.26"
,
"drupal/rabbit_hole"
:
"^2.26"
,
"drupal/recaptcha"
:
"^3.0"
,
"drupal/recaptcha"
:
"^3.0"
,
"drupal/redirect"
:
"^1.7"
,
"drupal/redirect"
:
"^1.7"
,
"drupal/search_api"
:
"^1.23"
,
"drupal/shariff"
:
"^1.7"
,
"drupal/shariff"
:
"^1.7"
,
"drupal/simple_sitemap"
:
"^4.1"
,
"drupal/simple_sitemap"
:
"^4.1"
,
"drupal/twig_field_value"
:
"^2.0"
,
"drupal/twig_field_value"
:
"^2.0"
,
...
...
app/composer.lock
View file @
0a69a484
...
@@ -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": "
005a065b07852908b016a4220a7fc7b9
",
"content-hash": "
4568c138cf524de214568fd3ee192adc
",
"packages": [
"packages": [
{
{
"name": "asm89/stack-cors",
"name": "asm89/stack-cors",
...
@@ -4077,6 +4077,78 @@
...
@@ -4077,6 +4077,78 @@
"source": "https://git.drupalcode.org/project/redirect"
"source": "https://git.drupalcode.org/project/redirect"
}
}
},
},
{
"name": "drupal/search_api",
"version": "1.23.0",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/search_api.git",
"reference": "8.x-1.23"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/search_api-8.x-1.23.zip",
"reference": "8.x-1.23",
"shasum": "7de5425bba5b8daa37e98d47b677459dfb1abbe7"
},
"require": {
"drupal/core": "^8.8 || ^9"
},
"conflict": {
"drupal/search_api_solr": "2.* || 3.0 || 3.1"
},
"require-dev": {
"drupal/language_fallback_fix": "@dev",
"drupal/search_api_autocomplete": "@dev",
"drupal/search_api_db": "*"
},
"suggest": {
"drupal/facets": "Adds the ability to create faceted searches.",
"drupal/search_api_autocomplete": "Allows adding autocomplete suggestions to search fields.",
"drupal/search_api_solr": "Adds support for using Apache Solr as a backend."
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "8.x-1.23",
"datestamp": "1642935837",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
}
},
"drush": {
"services": {
"drush.services.yml": "^9 || ^10"
}
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "Thomas Seidl",
"homepage": "https://www.drupal.org/u/drunken-monkey"
},
{
"name": "Nick Veenhof",
"homepage": "https://www.drupal.org/u/nick_vh"
},
{
"name": "See other contributors",
"homepage": "https://www.drupal.org/node/790418/committers"
}
],
"description": "Provides a generic framework for modules offering search capabilities.",
"homepage": "https://www.drupal.org/project/search_api",
"support": {
"source": "https://git.drupalcode.org/project/search_api",
"issues": "https://www.drupal.org/project/issues/search_api",
"irc": "irc://irc.freenode.org/drupal-search-api"
}
},
{
{
"name": "drupal/shariff",
"name": "drupal/shariff",
"version": "1.7.0",
"version": "1.7.0",
...
...
app/docroot/modules/custom/myservice/src/Plugin/QueueWorker/MyNodeQueueWorker.php
View file @
0a69a484
...
@@ -59,8 +59,8 @@ public function processItem($data){
...
@@ -59,8 +59,8 @@ public function processItem($data){
$this
->
createVehiclesNode
(
$counter
,
$data
,
$node_id
);
$this
->
createVehiclesNode
(
$counter
,
$data
,
$node_id
);
}
}
$secondQueue
=
\Drupal
::
queue
(
'my_second_node_queue'
);
//
$secondQueue = \Drupal::queue('my_second_node_queue');
$secondQueue
->
createItem
(
$data
);
//
$secondQueue->createItem($data);
}
}
/**
/**
...
...
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