diff --git a/link.module b/link.module index c8d0ed5..5c25b4f 100644 --- a/link.module +++ b/link.module @@ -371,6 +371,22 @@ function _link_load($field, $item, $instance) { /** * Prepares the item attributes and url for storage. + * + * @param $item + * Link field values. + * + * @param $delta + * The sequence number for current values. + * + * @param $field + * The field structure array. + * + * @param $entity + * Entity object. + * + * @param $instance + * The instance structure for $field on $entity's bundle. + * */ function _link_process(&$item, $delta, $field, $entity, $instance) { // Trim whitespace from URL. @@ -1187,6 +1203,9 @@ function link_cleanup_url($url, $protocol = 'http') { * @param $text * Url to be validated. * + * @param $langcode + * An optional language code to look up the path in. + * * @return boolean * True if a valid link, FALSE otherwise. */