diff -u b/core/includes/form.inc b/core/includes/form.inc --- b/core/includes/form.inc +++ b/core/includes/form.inc @@ -1608,33 +1608,33 @@ * properties can include #attributes, which is added to the * table row's HTML attributes; see theme_table(). An example of per-row * options: - * @code - * $options = array( - * array( - * 'title' => 'How to Learn Drupal', - * 'content_type' => 'Article', - * 'status' => 'published', - * '#attributes' => array('class' => array('article-row')), - * ), - * array( - * 'title' => 'Privacy Policy', - * 'content_type' => 'Page', - * 'status' => 'published', - * '#attributes' => array('class' => array('page-row')), - * ), - * ); - * $header = array( - * 'title' => t('Title'), - * 'content_type' => t('Content type'), - * 'status' => t('Status'), - * ); - * $form['table'] = array( - * '#type' => 'tableselect', - * '#header' => $header, - * '#options' => $options, - * '#empty' => t('No content available.'), - * ); - * @endcode + * @code + * $options = array( + * array( + * 'title' => 'How to Learn Drupal', + * 'content_type' => 'Article', + * 'status' => 'published', + * '#attributes' => array('class' => array('article-row')), + * ), + * array( + * 'title' => 'Privacy Policy', + * 'content_type' => 'Page', + * 'status' => 'published', + * '#attributes' => array('class' => array('page-row')), + * ), + * ); + * $header = array( + * 'title' => t('Title'), + * 'content_type' => t('Content type'), + * 'status' => t('Status'), + * ); + * $form['table'] = array( + * '#type' => 'tableselect', + * '#header' => $header, + * '#options' => $options, + * '#empty' => t('No content available.'), + * ); + * @endcode * * @return array * The processed element. @@ -1698,11 +1698,11 @@ /** * Creates checkbox or radio elements to populate a tableselect table. * - * @param array $element + * @param $element * An associative array containing the properties and children of the * tableselect element. * - * @return array + * @return * The processed element. */ function form_process_tableselect($element) {