X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fchi-teck%2Fdrupal-code-generator%2Ftemplates%2Fd7%2Fhook%2Fdashboard_regions.twig;fp=vendor%2Fchi-teck%2Fdrupal-code-generator%2Ftemplates%2Fd7%2Fhook%2Fdashboard_regions.twig;h=eb21073ea9bd76b6e72e6b10959f62205b6495cc;hp=0000000000000000000000000000000000000000;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/dashboard_regions.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/dashboard_regions.twig new file mode 100644 index 000000000..eb21073ea --- /dev/null +++ b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/dashboard_regions.twig @@ -0,0 +1,9 @@ +/** + * Implements hook_dashboard_regions(). + */ +function {{ machine_name }}_dashboard_regions() { + // Define a new dashboard region. Your module can also then define + // theme_mymodule_dashboard_region() as a theme wrapper function to control + // the region's appearance. + return array('mymodule_dashboard_region' => "My module's dashboard region"); +}