Created
          April 16, 2014 13:38 
        
      - 
      
- 
        Save ivan-ivanic-cm/10876701 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | ${{ region }}->add_element('{{ elementType }}', array( | |
| 'columns' => {{ columns }}, | |
| 'id' => '{{ region }}-module{{ index }}-{{ elementType }}', | |
| 'rows' => {{ rows }}, | |
| 'margin_top' => {{ margin_top }}, | |
| 'margin_left' => {{ margin_left }}, | |
| 'margin_bottom' => {{ margin_bottom }}, | |
| 'margin_right' => {{ margin_right }}, | |
| {[ if (leaveWrapperOpen) { ]} | |
| 'close_wrapper' => false, | |
| {[ } ]} | |
| {[ if (elementSpecificProperties) { ]} | |
| {{ elementSpecificProperties }} | |
| {[ } ]} | |
| 'options' => array( | |
| 'theme_style' => '{{ theme_style }}', | |
| 'anchor' => '{{ anchor }}', | |
| {{ elementOptions }} | |
| ) | |
| )); | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment