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
AggregatorTestCase::getInvalidOpml function modules/aggregator/aggregator.test Creates an invalid OPML file.
AggregatorTestCase::getValidOpml function modules/aggregator/aggregator.test Creates a valid OPML file from an array of feeds.
aggregator_form_category_validate function modules/aggregator/aggregator.admin.inc Form validation handler for aggregator_form_category().
aggregator_form_feed_validate function modules/aggregator/aggregator.admin.inc Form validation handler for aggregator_form_feed().
aggregator_form_opml_validate function modules/aggregator/aggregator.admin.inc Form validation handler for aggregator_form_opml().
AJAXElementValidation class modules/simpletest/tests/ajax.test Miscellaneous Ajax tests using ajax_test module.
AJAXElementValidation::getInfo function modules/simpletest/tests/ajax.test
AJAXElementValidation::testAJAXElementValidation function modules/simpletest/tests/ajax.test Try to post an Ajax change to a form that has a validated element.
ajax_forms_test_validation_form function modules/simpletest/tests/ajax_forms_test.module This form and its related submit and callback functions demonstrate
not validating another form element when a single Ajax element is triggered.
ajax_forms_test_validation_form_callback function modules/simpletest/tests/ajax_forms_test.module Ajax callback for the 'drivertext' element of the validation form.
ajax_forms_test_validation_form_submit function modules/simpletest/tests/ajax_forms_test.module Submit handler for the validation form.
authorize_filetransfer_form_validate function includes/authorize.inc Form validation handler for authorize_filetransfer_form().
BlockInvalidRegionTestCase class modules/block/block.test Tests that a block assigned to an invalid region triggers the warning.
BlockInvalidRegionTestCase::getInfo function modules/block/block.test
BlockInvalidRegionTestCase::setUp function modules/block/block.test Sets up a Drupal site for running functional and integration tests.
BlockInvalidRegionTestCase::testBlockInInvalidRegion function modules/block/block.test Tests that blocks assigned to invalid regions work correctly.
block_add_block_form_validate function modules/block/block.admin.inc Form validation handler for block_add_block_form().
block_admin_configure_validate function modules/block/block.admin.inc Form validation handler for block_admin_configure().
book_admin_edit_validate function modules/book/book.admin.inc Form validation handler for book_admin_edit().
book_admin_settings_validate function modules/book/book.admin.inc Form validation handler for book_admin_settings().
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.

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