1234567891011121314151617181920212223242526272829 |
- <?php
- # @Author: Bachir Soussi Chiadmi <bach>
- # @Date: 13-12-2017
- # @Email: bachir@figureslibres.io
- # @Filename: edlp_home.module
- # @Last modified by: bach
- # @Last modified time: 20-12-2017
- # @License: GPL-V3
- /**
- * Implements hook_theme().
- */
- function edlp_home_theme($existing, $type, $theme, $path) {
- // @see https://www.drupal.org/docs/8/theming/twig/create-custom-twig-templates-from-custom-module
- return array(
- 'edlp_home' => array(
- // 'render element' => '',
- 'file' => 'edlp_home.inc',
- 'variables' => array(
- 'presentation_node' => NULL,
- 'last_fil_node' => NULL,
- 'last_production_node' => NULL,
- 'agenda_items' => NULL
- ),
- ),
- );
- }
|