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
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.
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
FileFieldValidateTestCase::$node_type property modules/file/tests/file.test
FileFieldValidateTestCase::getInfo function modules/file/tests/file.test
FileFieldValidateTestCase::testFileExtension function modules/file/tests/file.test Tests file extension checking.
FileFieldValidateTestCase::testFileMaxSize function modules/file/tests/file.test Tests the max file size validator.
FileFieldValidateTestCase::testRequired function modules/file/tests/file.test Tests the required property on file fields.
FileFieldWidgetTestCase::testWidgetValidation function modules/file/tests/file.test Tests validation with the Upload button.
FileLoadTest::testLoadInvalidStatus function modules/simpletest/tests/file.test Try to load a non-existent file by status.
FileValidateTest class modules/simpletest/tests/file.test Tests the file_validate() function..
FileValidateTest::getInfo function modules/simpletest/tests/file.test
FileValidateTest::testCallerValidation function modules/simpletest/tests/file.test Test that the validators passed into are checked.
FileValidateTest::testInsecureExtensions function modules/simpletest/tests/file.test Tests hard-coded security check in file_validate().
FileValidatorTest class modules/simpletest/tests/file.test This will run tests against the file validation functions (file_validate_*).
FileValidatorTest::$image property modules/simpletest/tests/file.test
FileValidatorTest::$non_image property modules/simpletest/tests/file.test
FileValidatorTest::getInfo function modules/simpletest/tests/file.test
FileValidatorTest::setUp function modules/simpletest/tests/file.test Sets up a Drupal site for running functional and integration tests.
FileValidatorTest::testFileValidateExtensions function modules/simpletest/tests/file.test Test the file_validate_extensions() function.
FileValidatorTest::testFileValidateImageResolution function modules/simpletest/tests/file.test This ensures the resolution of a specific file is within bounds.
The image will be resized if it's too large.
FileValidatorTest::testFileValidateIsImage function modules/simpletest/tests/file.test This ensures a specific file is actually an image.
FileValidatorTest::testFileValidateNameLength function modules/simpletest/tests/file.test This will ensure the filename length is valid.
FileValidatorTest::testFileValidateSize function modules/simpletest/tests/file.test Test file_validate_size().
file_field_widget_upload_validators function modules/file/file.field.inc Retrieves the upload validators for a file field.
file_managed_file_validate function modules/file/file.module An #element_validate callback for the managed_file element.
file_stream_wrapper_valid_scheme function includes/file.inc Checks that the scheme of a stream URI is valid.
file_test_file_validate function modules/simpletest/tests/file_test.module Implements hook_file_validate().
file_test_validator function modules/simpletest/tests/file.test Helper validator that returns the $errors parameter.
file_validate function includes/file.inc Checks that a file meets the criteria specified by the validators.
file_validate_extensions function includes/file.inc Checks that the filename ends with an allowed extension.
file_validate_image_resolution function includes/file.inc Verifies that image dimensions are within the specified maximum and minimum.
file_validate_is_image function includes/file.inc Checks that the file is recognized by image_get_info() as an image.
file_validate_name_length function includes/file.inc Checks for files with names longer than we can store in the database.

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