You are here

constant LINK_DOMAINS in Link 5

Same name and namespace in other branches
  1. 6.2 link.module \LINK_DOMAINS
  2. 6 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_protocol_filter_handler in ./link.module
Views modules filter handler for link protocol filtering

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');