example_element_theme

Versions
6 – 7
example_element_theme()

Implementation of hook_theme().

This lets us tell Drupal about our theme functions and their arguments.

Code

developer/examples/example_element.module, line 120

<?php
function example_element_theme() {
  return array(
    'phonenumber' => array(
      'arguments' => array('element'),
    ),
  );
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.