annotate vendor/chi-teck/drupal-code-generator/templates/d7/hook/dashboard_regions.twig @ 5:12f9dff5fda9
tip
Update to Drupal core 8.7.1
author |
Chris Cannam |
date |
Thu, 09 May 2019 15:34:47 +0100 |
parents |
c75dbcec494b |
children |
|
rev |
line source |
Chris@0
|
1 /**
|
Chris@0
|
2 * Implements hook_dashboard_regions().
|
Chris@0
|
3 */
|
Chris@0
|
4 function {{ machine_name }}_dashboard_regions() {
|
Chris@0
|
5 // Define a new dashboard region. Your module can also then define
|
Chris@0
|
6 // theme_mymodule_dashboard_region() as a theme wrapper function to control
|
Chris@0
|
7 // the region's appearance.
|
Chris@0
|
8 return array('mymodule_dashboard_region' => "My module's dashboard region");
|
Chris@0
|
9 }
|