You are here

constant LINK_DOMAINS in Link 6

Same name and namespace in other branches
  1. 5 link.module \LINK_DOMAINS
  2. 6.2 link.module \LINK_DOMAINS
3 uses of LINK_DOMAINS
link_cleanup_url in ./link.module
Forms a valid URL if possible from an entered address. Trims whitespace and automatically adds an http:// to addresses without a protocol specified
link_validate_url in ./link.module
A 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_handler_filter_protocol::op_protocol in views/link_views_handler_filter_protocol.inc
Filter down the query to include only the selected protocols.

File

./link.module, line 12
Defines simple link field types.

Code

define('LINK_DOMAINS', 'aero|arpa|asia|biz|com|cat|coop|edu|gov|info|int|jobs|mil|museum|name|nato|net|org|pro|travel|mobi|local');