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 10.3.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.
ActionMethodAttributeTest::testInvalidFunctionName function core/tests/Drupal/Tests/Core/Config/Action/ActionMethodAttributeTest.php @covers ::__construct
ActionsTest::validateForm function core/tests/Drupal/KernelTests/Core/Render/Element/ActionsTest.php
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::$propertiesWithOptionalValues property 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::testImmutableProperties 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.
ActionValidationTest::testLabelValidation function core/modules/system/tests/src/Kernel/Entity/ActionValidationTest.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.
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
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
AjaxTestFocusFirstForm::validateForm function core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestFocusFirstForm.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 '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
AllowedScaffoldPackagesValidator class core/modules/package_manager/src/Validator/AllowedScaffoldPackagesValidator.php Validates the list of packages that are allowed to scaffold files.
AllowedScaffoldPackagesValidator.php file core/modules/package_manager/src/Validator/AllowedScaffoldPackagesValidator.php
AllowedScaffoldPackagesValidator::getSubscribedEvents function core/modules/package_manager/src/Validator/AllowedScaffoldPackagesValidator.php
AllowedScaffoldPackagesValidator::validate function core/modules/package_manager/src/Validator/AllowedScaffoldPackagesValidator.php Validates that only the implicitly allowed packages can use scaffolding.
AllowedScaffoldPackagesValidator::__construct function core/modules/package_manager/src/Validator/AllowedScaffoldPackagesValidator.php
AllowedScaffoldPackagesValidatorTest class core/modules/package_manager/tests/src/Kernel/AllowedScaffoldPackagesValidatorTest.php @covers \Drupal\package_manager\Validator\AllowedScaffoldPackagesValidator
@group package_manager
@internal
AllowedScaffoldPackagesValidatorTest.php file core/modules/package_manager/tests/src/Kernel/AllowedScaffoldPackagesValidatorTest.php
AllowedScaffoldPackagesValidatorTest::testPreApply function core/modules/package_manager/tests/src/Kernel/AllowedScaffoldPackagesValidatorTest.php Tests that the allowed-packages setting is validated during pre-apply.
AllowedScaffoldPackagesValidatorTest::testPreCreate function core/modules/package_manager/tests/src/Kernel/AllowedScaffoldPackagesValidatorTest.php Tests that the allowed-packages setting is validated during pre-create.
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.

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