Tag: array

  • Drupal – Pass Data To Template File

    Probably most useful for passing large blocks of data that can be iterated over from within the template file. Using this method allows the developer to keep the application logic separate from the presentation layer. The data being passed in would most typically be an array. 1) Create the function that will generate the data […]