The patch on #3 didn't work for me (Drupal 10.3.10).
The following did the trick for me:
if (isset($variables['attributes']) && $variables['attributes'] instanceof \Drupal\Core\Template\AttributeArray) {
if ($variables['attributes']->hasClass('imce-page')) {
return;
}
}
donbuche β created an issue.
Hi there,
I've tried to install with a `composer install`, after manually adding the dependency and the patch in #7 in my composer.json, but I can't get it installed. For sure I'm doing some stuff wrong.
Could you point me in the right direction in order to get it installed on my Drupal 10 site, please?
Subscribing, same problem here.
#9 Saved my day. Thanks!
Indeed, it was causing an infinite recursion, causing me a exhaust memory error message.
First at all, my apologizes if I did something wrong before.
I was trying to upload a patch for this issue, and it is my first time doing something like this.
Hope this patch fix your problem.
Cheers.
donbuche β made their first commit to this issueβs fork.
Hi rishu_kumar,
I've added yout fix in the 1.1.0 release.
Thanks for your effort & feedback.