theme_phonenumber

Versions
5 – 7
theme_phonenumber($element)

Theme function to format the output.

We use the container-inline class so that all three of the HTML elements are placed next to each other, rather than on separate lines.

Code

developer/examples/example_element.module, line 127

<?php
function theme_phonenumber($element) {
  return theme('form_element', $element, '<div class="container-inline">'. $element['#children'] .'</div>');
}
?>
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.