In Drupal, local tasks are menu tabs or action links that appear as part of a menu tab on a page. These tasks are often used to represent various operations or sub-pages within a module. Local tasks are generally placed directly above content on pages(up to two levels), but can be dynamically positioned as a block. These are mostly used on administrative pages but frontend pages like user pages or the registration/login/new password pages also use local tasks. To create custom local tasks in Drupal, you can follow these general steps:
Menu
X Close