- Issue created by @chrisfromredfin
- ๐บ๐ธUnited States drumm NY, US
Rather than piling in the somewhat-bespoke code here, we should let Link module do the work and just use
field_view_value('node', $project, 'field_project_homepage', $home_link[0]);
This will need each field instance to be updated to fill in the link text, โHome pageโ in this case. Since we have a few different content types for each project type, it will be a few field updates.
- ๐บ๐ธUnited States drumm NY, US
I've opened a merge request showing the type of change that'll be needed. The rest is somewhat repetitive work, doing the same changes for the field output that's temporarily commented out, and converting anything thatโs not a regular link into the equivalent output in render array format. And the updating the field instances of those same fields for every other project content type.
If you have any interest in helping out with this, https://www.drupal.org/drupalorg/docs/build/development-environments/dev... โ is where to start.
- First commit to issue fork.
- Status changed to Fixed
about 1 year ago 9:15pm 20 December 2023 - ๐บ๐ธUnited States drumm NY, US
This is now fixed for all of the resources links.
Automatically closed - issue fixed for 2 weeks with no activity.