Add an Action Link in a Module for Drupal 8, Drupal 9

Last updated March 8, 2021
Module Development8.9.x/9.3.x

Modules can provide action links to make common operations more readily available within a particular context. For example, a site administrator visiting the content management page may be interested in adding content. If you've ever noticed the Add content button on this page, that's an example of an action link. In this tutorial we'll take a look at how custom modules can provide these action links to make it easier for users to interact with our site.