Closed (fixed)
Project:
Simple favourites
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Dec 2025 at 06:09 UTC
Updated:
25 Dec 2025 at 16:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
john cook commentedI've created a MR that brings the data-block-plugin-id value in the javascript inline with the HTML.
Comment #4
joseph.olstadHmm, strange I didn't notice this bug, thanks for the merge request!
Comment #5
joseph.olstadHmm, which block is this?
Comment #6
joseph.olstad@john cook
what version of Drupal are you testing this against? My test build for this is using Drupal 10.4.x
Was this somehow changed in a newer Drupal? omg scream!
Comment #7
joseph.olstadwhat theme are you using? Might be theme related
Comment #8
joseph.olstadAt the top of
src/Plugin/Block/SimpleFavsBlock.phpit clearly states this:
Comment #9
joseph.olstadSee screenshot
Comment #10
joseph.olstadI'm not understanding this request. The SimpleFavsBlock.php class clearly states that the id is
simple_favs_block.Comment #11
john cook commentedWe are using a custom theme for the site, so I switched to Olivero to test.
The

data-block-plugin-idvalue is still in kebab case.I'm using Drupal 10.5.6, Simple favourites 2.0.10.
It may be worth checking for both values in the code:
Comment #12
joseph.olstadOk ya we can support both, checking now
Comment #15
joseph.olstadPatch for this
Comment #17
joseph.olstadThanks for working with me on this fix. It should be fixed in 2.0.11.
Please confirm if this fixes your issue, which I suspect it does.
https://www.drupal.org/project/simple_favs/releases/2.0.11