Action Link Field submodule has no docs - Where Do I Find The Generated Link?

Created on 26 September 2023, over 1 year ago
Updated 8 October 2023, over 1 year ago

Problem/Motivation

Hi,

I have created the action links from configuration but I couldn't find the generated link or button to use on other pages. Please add more steps.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.0

Component

Documentation

Created by

🇮🇳India Ameer Khan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Ameer Khan
  • 🇬🇧United Kingdom joachim

    You can use the action_link_field submodule to output a link for an entity as a computed field.
    Or you can output links yourself with the render element.

    I'll add something to the README to make that clearer.

  • 🇨🇳China marcolam

    I have created the action links and enable action_link_field submodule, but still can't find it in views or content fields. Helps needed.
    Thank you!

  • 🇬🇧United Kingdom joachim

    Once action_link_field is enabled, you need to create a computed field.

  • 🇨🇳China marcolam

    I only got this:

    Sorry, I am new to this.
    env:drupal 10.1 , Computed Field 4.0.0-alpha6

  • 🇬🇧United Kingdom joachim

    It looks like you haven't enabled action_link_field module.

  • 🇨🇳China marcolam

    But I did enable Action Link Field module.

  • 🇬🇧United Kingdom joachim

    Ah sorry, I got it wrong.

    It's been long enough that I'd forgotten how this module works, and I didn't write any documentation :(

    To get an action link to automatically show a computed field which outputs the link:

    1. Edit the action link
    2. Enable the 'Show as field' option
    3. A computed field will be automatically added to all the bundles of the entity type the action link targets. You can set up its options in the 'Display options' for each bundle.

    I'll add the above to a readme!

  • Status changed to Fixed over 1 year ago
  • 🇬🇧United Kingdom joachim

    Done.

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024