Search for valid

  1. Search 7.x for valid
  2. Search 9.5.x for valid
  3. Search 8.9.x for valid
  4. Search 11.x for valid
  5. Other projects
Title Object type File name Summary
AccessPolicyProcessor::validateScope function core/lib/Drupal/Core/Session/AccessPolicyProcessor.php Validates if calculated permissions all match a single scope.
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.
ActionValidationTest class core/modules/system/tests/src/Kernel/Entity/ActionValidationTest.php Tests validation of action entities.
ActionValidationTest.php file core/modules/system/tests/src/Kernel/Entity/ActionValidationTest.php
ActionValidationTest::providerInvalidMachineNameCharacters function core/modules/system/tests/src/Kernel/Entity/ActionValidationTest.php Action IDs are atypical in that they allow periods in the machine name.
ActionValidationTest::setUp function core/modules/system/tests/src/Kernel/Entity/ActionValidationTest.php
ActionValidationTest::testInvalidPluginId function core/modules/system/tests/src/Kernel/Entity/ActionValidationTest.php Tests that the action plugin ID is validated.
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.
AdminUiTest::testImageUploadSettingsAreValidated function core/modules/ckeditor5/tests/src/FunctionalJavascript/AdminUiTest.php Tests that image upload settings (stored out of band) are validated too.
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 'driver_text' 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 'driver_number' 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

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