Account created on 10 October 2007, about 17 years ago
#

Merge Requests

Recent comments

🇪🇸Spain willeaton

Hmmm, looks like the video_embed_field module causes this limitation :-(

🇪🇸Spain willeaton

Hi, I was looking for this functionality, its great for being informed of a transition event, but what about being able to veto the transition?

Use case: Product publication.

A user wants to validate a product ready for publication. The system needs to check that the product is really ready. Maybe they haven't filled in all the required fields for publication (fields which cannot be required to create the initial entity/node). Maybe they haven't prepared related content which is required for publication.

The system should be able to validate certain data before allowing the product to pass to a validated state.

Previously we used the "Workflow" module but we decided against it because the module doesn't seem to be maintained and the code base is still in a state of temporary migration from Drupal 7 style code. Content Moderation seemed to be the more accepted option however it is limited in this respect.

🇪🇸Spain willeaton

Hi, I have an issue fork in working progress. I'll push it this morning. Didn't get chance yesterday

🇪🇸Spain willeaton

Sorry, ignore me, I ran through the code and debugged my instance and realised that there's no need for this module to do anything in my situation. Views renders the responsive image as designed.

🇪🇸Spain willeaton

I have tested the feature request, and it appears that it only resolves the case where you use a tinyslider as a FieldFormatter. In my case I have a view which renders complete entities (Show:entity, "view mode": default) and there is no integration for it. It seems to print just one image preset and I have no idea how it selects it.

I can try and produce a patch but as I don't really know how this works it might be easier for someone else to have a go?

🇪🇸Spain willeaton

Created issue fork and uploaded changes.

🇪🇸Spain willeaton

All we have to do is change:

if ($element->link->getUrlObject()->getRouteName() === '<front>') {
  $system_path = '<front>';
}

to

if ($element->link->getUrlObject()->isRouted() && $element->link->getUrlObject()->getRouteName() === '<front>') {
  $system_path = '<front>';
}
🇪🇸Spain willeaton

Sure, any version. It's something we used to have in Drupal 6 through core and no longer have in Drupal 9

🇪🇸Spain willeaton

Hi, not sure it's correct to close this feature request. It's not affected by a beta release because no code has been completed. I understand that there might not be interest in making this functionality yet but maybe if the issue exists it might get more interest

Production build 0.71.5 2024