Input validation in Drupal 7
Same name and namespace in other branches
- 8 core/includes/common.inc \validation
- 4 includes/common.inc \validation
- 5 includes/common.inc \validation
- 6 includes/common.inc \validation
Functions to validate user input.
File
- includes/
common.inc, line 1232 - Common functions that many Drupal modules will need to reference.
Functions
Name | Location | Description |
---|---|---|
valid_email_address |
includes/ |
Verifies the syntax of the given e-mail address. |
valid_url |
includes/ |
Verifies the syntax of the given URL. |