theme_date

  1. drupal
    1. 4.7 form.inc
    2. 5 form.inc
    3. 6
    4. 7
Versions
4.7 – 6 theme_date($element)
7 theme_date($variables)

Returns HTML for a date selection form element.

Parameters

$variables An associative array containing:

  • element: An associative array containing the properties of the element. Properties used: #title, #value, #options, #description, #required, #attributes.

Related topics

Code

drupal/includes/form.inc, line 2773

<?php
function theme_date($variables) {
  $element = $variables['element'];
  return '<div class="container-inline">' . drupal_render_children($element) . '</div>';
}
?>