Interim commit.
[yaffs-website] / web / modules / contrib / layouter / modules / layouter_extension_example / README.md
1 CONTENTS OF THIS FILE
2 ---------------------
3    
4  * Introduction
5  * Requirements
6  * For developers
7
8 INTRODUCTION
9 ------------
10
11   Layouter template extension example module.
12
13 REQUIREMENTS
14 ------------
15
16   * Layouter
17   
18     https://drupal.org/project/layouter
19
20 FOR DEVELOPERS
21 --------------
22
23   For implementing your templates create new extension module or edit this.
24   
25   * In *.module:
26     
27     - implement hook_form_alter for adding your css to layouter multistep form.
28       This need for styling radio button in layouts list. Optional;
29      
30     - implement hook_theme that must contain your template. Required;
31     
32     - implement hook_layouter_templates_info that described your layout.
33       See example that makes it clear. Required;
34       
35   * Create your twig template (required) and css file with style for radio
36     button mentioned above.