Search for valid

  1. Search 9.5.x for valid
  2. Search 8.9.x for valid
  3. Search 10.3.x for valid
  4. Search 11.x for valid
  5. Other projects
Title Object type File name Summary
CacheClearCase::testIsValidBin function modules/simpletest/tests/cache.test Test DrupalDatabaseCache::isValidBin().
ColorTestCase::testValidColor function modules/color/color.test Tests whether the provided color is valid.
color_scheme_form_validate function modules/color/color.module Form validation handler for color_scheme_form().
color_valid_hexadecimal_string function modules/color/color.module Determines if a hexadecimal CSS color string is valid.
comment_admin_overview_validate function modules/comment/comment.admin.inc Validate comment_admin_overview form submissions.
comment_form_validate function modules/comment/comment.module Validate comment form submissions.
CommonXssUnitTest::testInvalidMultiByte function modules/simpletest/tests/common.test Check that invalid multi-byte sequences are rejected.
contact_category_edit_form_validate function modules/contact/contact.admin.inc Form validation handler for contact_category_edit_form().
contact_personal_form_validate function modules/contact/contact.pages.inc Form validation handler for contact_personal_form().
contact_site_form_validate function modules/contact/contact.pages.inc Form validation handler for contact_site_form().
DatabaseInvalidDataTestCase class modules/simpletest/tests/database_test.test Test invalid data handling.
DatabaseInvalidDataTestCase::getInfo function modules/simpletest/tests/database_test.test
DatabaseInvalidDataTestCase::setUp function modules/simpletest/tests/database_test.test Sets up a Drupal site for running functional and integration tests.
DatabaseInvalidDataTestCase::testInsertDuplicateData function modules/simpletest/tests/database_test.test Traditional SQL database systems abort inserts when invalid data is encountered.
DatabaseMergeTestCase::testInvalidMerge function modules/simpletest/tests/database_test.test Test that an invalid merge query throws an exception like it is supposed to.
DatabaseStatementEmpty::valid function includes/database/database.inc
DatabaseStatementPrefetch::valid function includes/database/prefetch.inc
DatabaseTasks::validateDatabaseSettings function includes/install.inc Validates driver specific configuration settings.
DatabaseTasks_sqlite::validateDatabaseSettings function includes/database/sqlite/install.inc Validates driver specific configuration settings.
date_validate function includes/form.inc Validates the date type to prevent invalid dates (e.g., February 30, 2006).
dblog_filter_form_validate function modules/dblog/dblog.admin.inc Form validation handler for dblog_filter_form().
DrupalDatabaseCache::isValidBin function includes/cache.inc Checks if $this->bin represents a valid cache table.
DrupalTagsHandlingTestCase::$validTags property modules/simpletest/tests/common.test
drupal_validate_form function includes/form.inc Validates user-submitted form data in the $form_state array.
drupal_validate_utf8 function includes/bootstrap.inc Checks whether a string is valid UTF-8.
drupal_valid_http_host function includes/bootstrap.inc Validates that a hostname (for example $_SERVER['HTTP_HOST']) is safe.
drupal_valid_path function includes/path.inc Checks a path exists and the current user has access to it.
drupal_valid_test_ua function includes/bootstrap.inc Returns the test prefix if this is an internal request from SimpleTest.
drupal_valid_token function includes/common.inc Validates a token based on $value, the user session, and the private key.
element_validate_integer function includes/form.inc Form element validation handler for integer elements.
element_validate_integer_positive function includes/form.inc Form element validation handler for integer elements that must be positive.
element_validate_number function includes/form.inc Form element validation handler for number elements.
EntityLoadTestCase::testEntityLoadInvalidControllerClass function modules/simpletest/tests/entity_crud.test Tests the controller class loading functionality on non-existing entity
types and on entities without valid controller class.
entity_form_field_validate function includes/common.inc Attaches field API validation to entity forms.
FieldAttachOtherTestCase::testFieldAttachValidate function modules/field/tests/field.test Test field_attach_validate().
FieldValidationException class modules/field/field.attach.inc Exception thrown by field_attach_validate() on field validation errors.
FieldValidationException::$errors property modules/field/field.attach.inc
FieldValidationException::__construct function modules/field/field.attach.inc Constructor for FieldValidationException.
field_attach_form_validate function modules/field/field.attach.inc Perform field validation against form-submitted field values.
field_attach_validate function modules/field/field.attach.inc Perform field validation against the field data in an entity.
field_default_validate function modules/field/field.default.inc Generic field validation handler.
field_test_entity_form_validate function modules/field/tests/field_test.entity.inc Validate handler for field_test_entity_form().
field_test_entity_nested_form_validate function modules/field/tests/field_test.entity.inc Validate handler for field_test_entity_nested_form().
field_test_field_validate function modules/field/tests/field_test.field.inc Implements hook_field_validate().
field_test_widget_multiple_validate function modules/field/tests/field_test.field.inc Form element validation handler for 'test_field_widget_multiple' widget.
field_ui_field_edit_form_validate function modules/field_ui/field_ui.admin.inc Form validation handler for field_ui_field_edit_form().
field_ui_field_overview_form_validate function modules/field_ui/field_ui.admin.inc Form validation handler for field_ui_field_overview_form().
field_valid_language function modules/field/field.multilingual.inc Ensures that a given language code is valid.
FileFieldValidateTestCase class modules/file/tests/file.test Tests various validations.
FileFieldValidateTestCase::$field property modules/file/tests/file.test

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.