Drupal 8 views field with link to excecute action plugin

08/07/2018


How can one add a field in views with a link to a custom Action plugin?

With bulk operations it’s possible to create a checkbox to perform an action to a set of results. My actions have an access check that may be different per result so using the checkbox would result in a lot of warnings when the user tries to perform the action and doesn’t have access.

I’d prefer to show the action as a link and only show the link when the user has access.

قالب وردپرس