diff --git a/file_entity.module b/file_entity.module index 01f4842..7b0f227 100644 --- a/file_entity.module +++ b/file_entity.module @@ -1189,8 +1189,8 @@ function file_entity_file_formatter_file_field_settings($form, &$form_state, $se /** * Replace file entity title text. * - * @param $files - * The array of file entities. + * @param $file + * The file entity. * @param $replace_options * (Optional) Options to pass to token_replace(). * @param $title @@ -1199,7 +1199,7 @@ function file_entity_file_formatter_file_field_settings($form, &$form_state, $se * @return string * Returns the replaced title text. */ -function file_entity_replace_title($files, $replace_options = array(), $title = NULL) { +function file_entity_replace_title($file, $replace_options = array(), $title = NULL) { $replace_options += array( 'clear' => TRUE, 'sanitize' => FALSE, @@ -1225,8 +1225,8 @@ function file_entity_replace_title($files, $replace_options = array(), $title = /** * Replace file entity alt. * - * @param $files - * The array of file entities. + * @param $file + * The file entity. * @param $replace_options * (Optional) Options to pass to token_replace(). * @param $alt @@ -1235,7 +1235,7 @@ function file_entity_replace_title($files, $replace_options = array(), $title = * @return string * Returns the replaced alt text. */ -function file_entity_replace_alt($files, $replace_options = array(), $alt = NULL) { +function file_entity_replace_alt($file, $replace_options = array(), $alt = NULL) { $replace_options += array( 'clear' => TRUE, 'sanitize' => FALSE,