Search for valid

  1. Search 7.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
ActionFormBase::validateForm function core/modules/action/src/Form/ActionFormBase.php Form validation handler.
ActionsTest::validateForm function core/tests/Drupal/KernelTests/Core/Render/Element/ActionsTest.php Form validation handler.
AddFormBase::validateForm function core/modules/media_library/src/Form/AddFormBase.php Form validation handler.
AddFormBase::validateMediaEntity function core/modules/media_library/src/Form/AddFormBase.php Validate a created media item.
AggregatorPluginSettingsBase::validateConfigurationForm function core/modules/aggregator/src/Plugin/AggregatorPluginSettingsBase.php Form validation handler.
AggregatorTestBase::getInvalidOpml function core/modules/aggregator/tests/src/Functional/AggregatorTestBase.php Creates an invalid OPML file.
AggregatorTestBase::getValidOpml function core/modules/aggregator/tests/src/Functional/AggregatorTestBase.php Creates a valid OPML file from an array of feeds.
AjaxBasePageNegotiatorTest::testDetermineActiveThemeInvalidToken function core/tests/Drupal/Tests/Core/Theme/AjaxBasePageNegotiatorTest.php @covers ::determineActiveTheme
AjaxBasePageNegotiatorTest::testDetermineActiveThemeValidToken function core/tests/Drupal/Tests/Core/Theme/AjaxBasePageNegotiatorTest.php @covers ::determineActiveTheme
AjaxFormBlock::validateForm function core/modules/system/tests/modules/ajax_forms_test/src/Plugin/Block/AjaxFormBlock.php Form validation handler.
AjaxFormPageCacheTest::testAjaxElementValidation function core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxFormPageCacheTest.php Tests that updating the text field trigger an AJAX request/response.
AjaxFormsTestValidationForm class core/modules/system/tests/modules/ajax_forms_test/src/Form/AjaxFormsTestValidationForm.php Form builder: Builds a form that triggers a simple AJAX callback.
AjaxFormsTestValidationForm.php file core/modules/system/tests/modules/ajax_forms_test/src/Form/AjaxFormsTestValidationForm.php
AjaxFormsTestValidationForm::buildForm function core/modules/system/tests/modules/ajax_forms_test/src/Form/AjaxFormsTestValidationForm.php Form constructor.
AjaxFormsTestValidationForm::getFormId function core/modules/system/tests/modules/ajax_forms_test/src/Form/AjaxFormsTestValidationForm.php Returns a unique string identifying the form.
AjaxFormsTestValidationForm::submitForm function core/modules/system/tests/modules/ajax_forms_test/src/Form/AjaxFormsTestValidationForm.php Form submission handler.
AjaxTestDialogForm::validateForm function core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestDialogForm.php Form validation handler.
AjaxTestFocusFirstForm::validateForm function core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestFocusFirstForm.php Form validation handler.
AjaxTestForm::validateForm function core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestForm.php Form validation handler.
AjaxTestMessageCommandForm::validateForm function core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestMessageCommandForm.php Form validation handler.
ajax_forms_test_validation_form_callback function core/modules/system/tests/modules/ajax_forms_test/ajax_forms_test.module Ajax form callback: Selects the 'drivertext' element of the validation form.
ajax_forms_test_validation_number_form_callback function core/modules/system/tests/modules/ajax_forms_test/ajax_forms_test.module Ajax form callback: Selects the 'drivernumber' element of the validation form.
Alignment::validateConfigurationForm function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Alignment.php
AllowedValuesConstraintValidator class core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraintValidator.php Validates the AllowedValues constraint.
AllowedValuesConstraintValidator.php file core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraintValidator.php
AllowedValuesConstraintValidator::$currentUser property core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraintValidator.php The current user.
AllowedValuesConstraintValidator::create function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraintValidator.php Instantiates a new instance of this class.
AllowedValuesConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraintValidator.php
AllowedValuesConstraintValidator::__construct function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraintValidator.php Constructs a new AllowedValuesConstraintValidator.
AllowedValuesConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php Tests AllowedValues validation constraint with both valid and invalid values.
AllowedValuesConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php
AllowedValuesConstraintValidatorTest::$typedData property core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php The typed data manager to use.
AllowedValuesConstraintValidatorTest::allowedValueCallback function core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php An AllowedValueConstraint callback.
AllowedValuesConstraintValidatorTest::setUp function core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php
AllowedValuesConstraintValidatorTest::testValidation function core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php Tests the AllowedValues validation constraint validator.
AllowedValuesConstraintValidatorTest::testValidationCallback function core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php Tests the AllowedValuesConstraintValidator with callbacks.
AllowedValuesConstraintValidatorTest::testValidationCallbackException function core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php Tests the AllowedValuesConstraintValidator with an invalid callback.
AnnotationEnumInvalid class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumInvalid.php Plugin annotation
@Target("ALL");
AnnotationEnumInvalid.php file core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumInvalid.php
AnnotationEnumInvalid::$value property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumInvalid.php Plugin annotation

@Enum({1, 2, "foo", "bar", {"foo":"bar"}})
AnnotationEnumLiteralInvalid class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteralInvalid.php Plugin annotation
@Target("ALL");
AnnotationEnumLiteralInvalid.php file core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteralInvalid.php
AnnotationEnumLiteralInvalid::$value property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteralInvalid.php Plugin annotation

@Enum(
value = {
1,
2
},
literal = {
1 : "AnnotationEnumLiteral::ONE",
2 : "AnnotationEnumLiteral::TWO",
3 : "AnnotationEnumLiteral::THREE"
}
)
AnnotationEnumLiteralInvalid::ONE constant core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteralInvalid.php
AnnotationEnumLiteralInvalid::THREE constant core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteralInvalid.php
AnnotationEnumLiteralInvalid::TWO constant core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteralInvalid.php
AnnotationWithInvalidTargetDeclaration class core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php Plugin annotation
@Target("Foo");
ApcuBackend::invalidate function core/lib/Drupal/Core/Cache/ApcuBackend.php Marks a cache item as invalid.
ApcuBackend::invalidateAll function core/lib/Drupal/Core/Cache/ApcuBackend.php Marks all cache items as invalid.
ApcuBackend::invalidateMultiple function core/lib/Drupal/Core/Cache/ApcuBackend.php Marks cache items as invalid.

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