July 2017
Intermediate to advanced
456 pages
11h 32m
English
Local tasks generate tabs on pages and are defined in a {module}.links.action.yml file in the root directory of your module. In this file, you have two or more local task declarations like:
mastering_drupal_8.test: route_name: mastering_drupal_8.test_page title: 'Test' appears_on: - mastering_drupal_8.test_page
For each local action element, you have the following attributes:
The local task, where the route_name matches the base_route, is the default local task that ...
Read now
Unlock full access