Problem/Motivation
Hello project maintainers,
This is an automated issue to help make this module compatible with Drupal 10.
To read more about this effort by the Drupal Association, please read: The project update bot is being refreshed to support Drupal 10 readiness of contributed projects
Patches will periodically be added to this issue that remove Drupal 10 deprecated API uses. To stop further patches from being posted, change the status to anything other than Active, Needs review, Needs work or Reviewed and tested by the community. Alternatively, you can remove the "ProjectUpdateBotD10" tag from the issue to stop the bot from posting updates.
The patches will be posted by the Project Update Bot official user account. This account will not receive any issue credit contributions for itself or any company.
\
| Comment | File | Size | Author |
|---|---|---|---|
| #17 | drupal-comability-17.patch | 3.37 KB | sahilgidwani |
| #14 | d10-compability-14.patch | 3.04 KB | savkaviktor16@gmail.com |
Issue fork closeblock-3353366
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
Abhay Sharma commentedComment #3
shivam_tiwari commentedComment #5
shivam_tiwari commentedComment #7
Abhay Sharma commentedHi shivam_tiwari,
I have removed the core: 8.x from the info.yml file which core:8.x is not required in Drupal 10
added core version requirement: in the info.yml file on 3353366-automated-drupal-10 branch
I have installed the module in Drupal 10 now it looks compatible with Drupal 10 but I can't see the close button output in the Drupal block.
Comment #8
Abhay Sharma commentedComment #9
Abhay Sharma commentedComment #10
joseph.olstadComment #11
joseph.olstadThe automated D10 changes didn't come in because the default branch is "master" and the "master" branch doesn't contain a symfony based Drupal module.
see #3363683: Change the default branch of closeblock to 8.x-1.x
Comment #12
joseph.olstadComment #13
srdtwc commentedFor anyone looking for a similar module that is D10 compatible check out https://www.drupal.org/project/collapsiblock
Comment #14
savkaviktor16@gmail.com commentedComment #15
sahilgidwani commentedComment #16
sahilgidwani commentedWe need to remove the core key also in info.yml, removed the core key and update the patch.
Comment #17
sahilgidwani commentedComment #18
sahilgidwani commentedPlease review the patch added in comment 17
Comment #19
joseph.olstadBump, yet again
Comment #20
joseph.olstadnote, if you upgrade to the D10 compatible version of radix, you may end up missing a block id which wil prevent this module from doing what it is supposed to do.
#3114611: Block id is removed in the block component
there's a patch I'm using there.
With that said, the patches above still aren't working.
once doesn't behave the same as jquery once. Cookie and strict mode may be interefering also.
Comment #21
joseph.olstadOk patch 17, I will test this again ASAP
If this passes manual tests I will cut a release