Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Long story short, I need to get the headline and URL of each news story (so the <title> and <link> values in the RSS feed). Then save that into Drupal.
I try to use the image that should be available for each node of a particular Content Type. In the content type I have added a field_image (system name) with label "Branding Region Backgound". I have made a template file "block--system-branding-block.html.twig" which works fine. But ... how to get the image that is defined / uploaded for each content page of this particular Content Type?
This trail {{ file_url(node.field_image.entity.fileuri) }} is not working.
My normal approach to module development is to un-install and re-install modules as I make new changes to test to see if they are working. I have found that if a module has a config/install folder where it is installing content type and taxonomy configuration, I have to delete the content type and any nodes of that type, the vocabulary and any terms each time I go through this un-install/re-install cycle. Is there a better way of handling this so that I don't have to keep deleting content and configuration each time I want to test a new addition to the code?
GovCMS and Salsa worked together to create and deliver an online learning strategy, covering open-sourcing the GovCMS manuals, moving to online instructor-led training, creating 22 videos across content admin, and upgrading the knowledge base. This enables self-service learning in the GovCMS community.