- 🇮🇳India ighosh
If you enable entityqueue_smartqueue, and in admin/structure/entityqueue/add you select Smart Queue, whatever content you have, all of them will automatically be added. For example, if you have 20 nodes for a particular CT, all 20 items will be added as 20 subqueues. However, if you're using Simple Queue you will need to add every node one by one. Would the approach of being able to select checkboxes for each node for a CT be better? Please confirm.
- 🇷🇴Romania amateescu
Entityqueue provides a
Add item to a subqueue
Rules Action, so if you're using the Rules module you probably can do a bulk insert of items. This could be copied into a core action plugin, which would be available as a bulk operation on the/admin/content
listing. Patches welcome :) - First commit to issue fork.
- 🇺🇸United States freelock Seattle
Hi,
Came here looking for ECA plugins to add/remove items from a subqueue... hopefully nobody minds me hijacking the issue....
- Status changed to Needs review
about 1 year ago 12:42am 9 December 2023 - 🇺🇸United States freelock Seattle
Two core action plugins and one ECA condition plugin are pushed to this issue's fork:
- Action: Add Item to subqueue
- Action: Remove item from subqueue
- ECA Condition: Entity is in subqueue... I implemented them for a customer's site, and they are working in ECA just fine for us now!
Note that you do need to know the subqueue ID to make use of them (I found it in the database, in entity_subqueue_field_data.queue)
Cheers,
John - Status changed to Needs work
12 months ago 11:24am 22 December 2023 - 🇷🇴Romania amateescu
I checked the code from the issue fork and it looks mostly ok, just this bit should be changed:
$access = AccessResult::allowedIfHasPermissions($account, [ "update {$subqueue->id()} entityqueue", 'manipulate all entityqueues', 'administer entityqueue', ], 'OR');
to
$access = $subqueue->access('update')'
Also, a MR should be opened from that issue fork so it can be merged :)
- Merge request !21Issue #3318130: Implement a core action plugin for adding items to a → (Merged) created by ankithashetty
- last update
12 months ago 4 pass - First commit to issue fork.
- last update
12 months ago 4 pass - Status changed to Needs review
12 months ago 5:45pm 22 December 2023 - last update
7 months ago 4 pass - last update
7 months ago 4 pass -
amateescu →
committed 473f4072 on 8.x-1.x authored by
ankithashetty →
Issue #3318130: Implement core action plugins to support ECA, others
-
amateescu →
committed 473f4072 on 8.x-1.x authored by
ankithashetty →
- Status changed to Fixed
7 months ago 9:05am 31 May 2024 - 🇷🇴Romania amateescu
Crediting @minorOffense for his work in #3215196: Add action plugins for subqueue operations (D9) → .
Automatically closed - issue fixed for 2 weeks with no activity.