Contributions API

link.module

Version

1.24.2.10 (checked in on 2008/04/20 at 19:38:36 by quicksketch)

Description

Defines simple link field types.

Constants

Namesort iconDescription
LINK_DOMAINS
LINK_EMAIL
LINK_EXTERNAL
LINK_FRONT
LINK_INTERNAL

Functions

Namesort iconDescription
link_cleanup_urlForms a valid URL if possible from an entered address. Trims whitespace and automatically adds an http:// to addresses without a protocol specified
link_content_is_emptyImplementation of hook_content_is_empty().
link_elementsImplementation of hook_elements().
link_fieldImplementation of hook_field().
link_field_formatter_infoImplementation of hook_field_formatter_info().
link_field_infoImplementation of hook_field_info().
link_field_settingsImplementation of hook_field_settings().
link_processProcess the link type element before displaying the field.
link_themeImplementation of hook_theme().
link_validate_urlA lenient verification for URLs. Accepts all URLs following RFC 1738 standard for URL formation and all email addresses following the RFC 2368 standard for mailto address formation.
link_views_argument_handlerViews module argument handler for link fields
link_views_protocol_filter_handlerViews modules filter handler for link protocol filtering
link_widgetImplementation of hook_widget().
link_widget_infoImplementation of hook_widget_info().
theme_linkFAPI theme for an individual text elements.
theme_link_field_settingsTheme the settings form for the link field.
theme_link_formatter_defaultTheme function for 'default' text field formatter.
theme_link_formatter_labelTheme function for 'short' text field formatter.
theme_link_formatter_plainTheme function for 'plain' text field formatter.
theme_link_formatter_shortTheme function for 'short' text field formatter.
_link_load
_link_process
_link_sanitizeCleanup user-entered values for a link field according to field settings.
_link_validate