theme_phonenumber

5 example_element.module 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.

File

developer/examples/example_element.module, line 127
This is an example demonstrating how a module can define custom form elements.

Code

function theme_phonenumber($element) {
  return theme('form_element', $element, '<div class="container-inline">' . $element['#children'] . '</div>');
}
Login or register to post comments