Closed (fixed)
Project:
Insert Block
Version:
8.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
14 Jun 2020 at 20:55 UTC
Updated:
19 Nov 2021 at 20:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
iamdroid commentedProvided patch works with patch from #2648496 and should be applied after it.
Comment #3
iamdroid commentedPatch updated, replaced deprecated entity.manager
Comment #4
tuthanh commented#3 seems to work. Thanks iamdroid.
Comment #5
Pooja Ganjage commentedHii,
This patch works for me.
Thanks
Comment #6
Pooja Ganjage commentedComment #7
santhosh-kumar-rengasamy commentedI have created this patch for Drupal 9 compatibility on development version 8.x-1.x-dev.
This patch having the consolidated code from the issues Drupal 9 Compatibility and Not working in Drupal 8 - Filter not Visible.
Please review the patch.
Comment #8
ricardochefigueroa commented#3 worked. Thanks!
Comment #10
john_b commentedThe following does not pick up custom blocks.
Add code as follows:
I am finding the git repo confusing to work with. A patched module with modified README.txt is attached. It seems to be working on D9 for both code and custom blocks.
Comment #11
john_b commentedNote the above relies on using the machine name of a block instance. Therefore a custom block created with a plugin should be placed, and if necessary disabled, and the machine name of the block instance used. To display a block created by a plugin using the block's id in the annotation, something based on https://drupal.stackexchange.com/questions/171686/how-can-i-programmatic... works. This should be documented in README.
Comment #14
summit commentedHi,
Patch Comment#7 doesn't work anymore with latest Insert_Bock using Composer
insert_block-d9-compatibility-3151591-7.patch
Last comment changing composer json worked!
Thanks for building!
greetings, Martijn
Comment #15
sébastien-frHello, in comment #13, for D9, it is explained to add :
"url": "https://packages.drupal.org/9",But it returns this error :
Are you sure we can do this ? In other D9 projects, I still see
Comment #16
john_b commentedSometimes the "file could not be downloaded" error with composer results from using composer version 1 rather than composer 2.
Comment #17
akozoriz commentedDrupal 9 compatible 8.x-1.0-beta1 is released.
Comment #19
hotwebmatter commented@vinyl_roads -- You are correct, merci. There is no Composer endpoint for Drupal 9 packages, we still use the one for Drupal 8. I made so many of these Issue Forks, and most of them have the correct endpoint, but this one slipped through the cracks. Fixing it now!