# @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' => 'includes/edlp_home.inc', 'variables' => array( // 'presentation_node' => NULL, // 'last_fil_node' => NULL, // 'last_production_node' => NULL, 'promoted_nodes' => array(), 'lastdocs_items' => NULL, 'agenda_items' => NULL, // 'entrees_items' => NULL, 'collection_link' => NULL, ), ), ); }