You are here

constant LINK_HTTP_PROTOCOL in Link 7

5 uses of LINK_HTTP_PROTOCOL
LinkDefaultProtocolTest::testHttpDefaultProtocolFromVariableConf in tests/LinkDefaultProtocolTest.test
The protocol is set to HTTP by default if a wrong protocol has been set.
LinkDefaultProtocolTest::testHttpDefaultProtocolOnUrlWithDefinedHttpsProtocol in tests/LinkDefaultProtocolTest.test
A link with a defined protocol HTTPS overrides the default HTTP protocol.
link_admin_settings in ./link.admin.inc
Form constructor for the settings form.
link_ensure_valid_default_protocol in ./link.module
Validate that the protocol is either HTTP or HTTPS.
_link_sanitize in ./link.module
Clean up user-entered values for a link field according to field settings.

File

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

Code

define('LINK_HTTP_PROTOCOL', 'http');