Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion npq/src/Form/NodePublisherQueueForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
*/
public function submitForm(array &$form, FormStateInterface $form_state) {
/** @var QueueInterface $queue */
$queue = $this->queueFactory->get('manual_node_publisher');
$queue = $this->queueFactory->get('node_publisher');
/** @var QueueWorkerInterface $queue_worker */
$queue_worker = $this->queueManager->createInstance('manual_node_publisher');

Expand Down
4 changes: 2 additions & 2 deletions npq/src/Plugin/QueueWorker/CronNodePublisher.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
* A Node Publisher that publishes nodes on CRON run.
*
* @QueueWorker(
* id = "cron_node_publisher",
* id = "node_publisher",
* title = @Translation("Cron Node Publisher"),
* cron = {"time" = 10}
* )
*/
class CronNodePublisher extends NodePublishBase {}
class CronNodePublisher extends NodePublishBase {}