From 3b9ae796ef06725459f822b6a7251adfb275ef4d Mon Sep 17 00:00:00 2001 From: Alan Stanley Date: Thu, 11 Apr 2013 15:18:05 -0300 Subject: [PATCH] code sniffer compliant --- includes/utilities.inc | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/includes/utilities.inc b/includes/utilities.inc index ea0fc849..11c65b50 100644 --- a/includes/utilities.inc +++ b/includes/utilities.inc @@ -740,12 +740,15 @@ function islandora_get_content_models($ignore_system_namespace = TRUE) { } /** - * Returns Drupal tableselect element allowing selection of one or more Content Models - * Primarily useful for Admin screens + * Returns Drupal tableselect element allowing selection of Content Models. + * * @param string $drupal_variable * the name of the Drupal variable holding selected content models - * Content models held in this variable will appear at the top of the displyed list - * @return array Drupal form element allowing content model selection + * Content models held in this variable will appear at the top of + * the displayed list + * + * @return array + * Drupal form element allowing content model selection */ function islandora_content_model_select_table_form_element($drupal_variable) { $connection = islandora_get_tuque_connection(); @@ -773,7 +776,7 @@ function islandora_content_model_select_table_form_element($drupal_variable) { 'pid' => array('data' => t('PID')), 'title' => array('data' => t('Content Model')), ); -//build and return table element + // Build and return table element. $element = array( '#type' => 'tableselect', '#header' => $header, @@ -782,4 +785,4 @@ function islandora_content_model_select_table_form_element($drupal_variable) { ); return $element; -} \ No newline at end of file +}