Search for valid

  1. Search 7.x for valid
  2. Search 9.5.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
ActionsTest::validateForm function core/tests/Drupal/KernelTests/Core/Render/Element/ActionsTest.php
AddFormBase::validateForm function core/modules/media_library/src/Form/AddFormBase.php
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
AggregatorTestBase::getInvalidOpml function core/modules/aggregator/tests/src/Functional/AggregatorTestBase.php Creates an invalid OPML file.
AggregatorTestBase::getInvalidOpml function core/modules/aggregator/src/Tests/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.
AggregatorTestBase::getValidOpml function core/modules/aggregator/src/Tests/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
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
AjaxFormsTestValidationForm::getFormId function core/modules/system/tests/modules/ajax_forms_test/src/Form/AjaxFormsTestValidationForm.php
AjaxFormsTestValidationForm::submitForm function core/modules/system/tests/modules/ajax_forms_test/src/Form/AjaxFormsTestValidationForm.php
AjaxTestDialogForm::validateForm function core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestDialogForm.php
AjaxTestForm::validateForm function core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestForm.php
AjaxTestMessageCommandForm::validateForm function core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestMessageCommandForm.php
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.
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
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
ApcuBackend::invalidateAll function core/lib/Drupal/Core/Cache/ApcuBackend.php
ApcuBackend::invalidateMultiple function core/lib/Drupal/Core/Cache/ApcuBackend.php

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