- ๐ฎ๐ณIndia junaidpv Kannur, Kerala
@sonfd Thank you!
The "Block Visibility Conditions" module is very appropriate here rather than trying to "fix" patch here. Automatically closed - issue fixed for 2 weeks with no activity.
- ๐ต๐ฑPoland tivi22
hey, how about hooks like
field_values_init
ortranslation_create
. The second one is used by thepath
module here... and since this hook is not in theEntityEvents::$hookToEventMap
array it's never being executed.Because of that, I have a problem with saving URL aliases for translatable content (when I save a translation, its URL alias is not saved, it's empty after saving the translation, although it shows in the form).
I made a quick fix for that:
// Dispatch an event for the entity-level hook (i.e., hook_entity_$hook). if (isset(EntityEvents::$hookToEventMap[$hook])) { $event_dispatcher->dispatch($event, EntityEvents::$hookToEventMap[$hook]); } else { $this->moduleHandler()->invokeAll('entity_' . $hook, [$entity]); }
... and it helped in my case, but I'm not sure if it's a correct way to go.
I'm using Drupal 10.3.9.
- ๐ฎ๐ณIndia shalini_jha
@chhavi.sharma I have reviewed the pipeline failure : https://git.drupalcode.org/issue/drupal-3485084/-/jobs/3674676
and it seems like a random failure not relevant with the changes in MR, try to re-run it will fix. hope that help.