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 