This project is not covered by Drupal’s security advisory policy.

theme7 is a very small utility module providing theme7() function as a wrapper for core theme() function, with the only difference being that it accepts all theme hook arguments as an associative array of variables (like in Drupal 7) instead of list of arguments (standard way in Drupal 6).

Which essentially means that instead of using for example:

theme('table', $header, $rows);

you can now use:

theme7('table', array('header' => $header, 'rows' => $rows));

Using this means that the way of providing theme hook arguments could stay the same between D6 and D7 versions of the same module (with only a slight difference in the function name). Also there is no need to worry anymore about the order of the arguments in an array, as this dealt with automatically by theme7() wrapper based on Drupal's theme registry.

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution No further development
    No longer developed by its maintainers.
  • Module categories: Developer Tools
  • By maciej.zgadzaj on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases