Search for isValid

  1. Search 7.x for isValid
  2. Search 9.5.x for isValid
  3. Search 8.9.x for isValid
  4. Search 11.x for isValid
  5. Other projects
Title Object type File name Summary
BaseFieldOverrideValidationTest::testFieldTypePluginIsValidated function core/tests/Drupal/KernelTests/Core/Entity/BaseFieldOverrideValidationTest.php Tests that the field type plugin's existence is validated.
CacheTagsChecksumDecorator::isValid function core/modules/system/tests/modules/performance_test/src/Cache/CacheTagsChecksumDecorator.php
CacheTagsChecksumInterface::isValid function core/lib/Drupal/Core/Cache/CacheTagsChecksumInterface.php Returns whether the checksum is valid for the given cache tags.
CacheTagsChecksumTrait::isValid function core/lib/Drupal/Core/Cache/CacheTagsChecksumTrait.php Implements \Drupal\Core\Cache\CacheTagsChecksumInterface::isValid()
ComponentPluginManager::isValidDefinition function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Validates the metadata info.
ComponentPluginManager::isValidDefinition function core/modules/sdc/src/ComponentPluginManager.php Validates the metadata info.
ConfigEntityValidationTestBase::testEntityIsValid function core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php Ensures that the entity created in ::setUp() has no validation errors.
ConfigValidationTest::testValidatableConfigIsValidated function core/tests/Drupal/KernelTests/Core/Recipe/ConfigValidationTest.php Tests that the recipe runner only validates config which is validatable.
ContentEntityBase::isValidationRequired function core/lib/Drupal/Core/Entity/ContentEntityBase.php
DateFormatValidationTest::testPatternIsValidated function core/tests/Drupal/KernelTests/Core/Entity/DateFormatValidationTest.php Tests that the pattern of a date format is validated.
EmailValidator::isValid function core/lib/Drupal/Component/Utility/EmailValidator.php Validates an email address.
EmailValidatorInterface::isValid function core/lib/Drupal/Component/Utility/EmailValidatorInterface.php Validates an email address.
EmailValidatorTest::testIsValid function core/tests/Drupal/Tests/Component/Utility/EmailValidatorTest.php @covers ::isValid
EmailValidatorTest::testIsValidException function core/tests/Drupal/Tests/Component/Utility/EmailValidatorTest.php @covers ::isValid
EntityDisplayModeListBuilder::isValidEntity function core/modules/field_ui/src/EntityDisplayModeListBuilder.php Filters entities based on their view builder handlers.
EntityFormModeListBuilder::isValidEntity function core/modules/field_ui/src/EntityFormModeListBuilder.php Filters entities based on their form mode handlers.
EntityViewDisplayValidationTest::testLayoutSectionPluginIdIsValidated function core/tests/Drupal/KernelTests/Core/Entity/EntityViewDisplayValidationTest.php Tests that the plugin ID of a Layout Builder section is validated.
ExtensionLifecycle::isValid function core/lib/Drupal/Core/Extension/ExtensionLifecycle.php Determines if a given extension lifecycle string is valid.
FieldableEntityInterface::isValidationRequired function core/lib/Drupal/Core/Entity/FieldableEntityInterface.php Checks whether entity validation is required before saving the entity.
FieldConfigValidationTest::testEntityReferenceSelectionHandlerIsValidated function core/modules/field/tests/src/Kernel/Entity/FieldConfigValidationTest.php Tests that entity reference selection handler plugin IDs are validated.
FieldConfigValidationTest::testFieldTypePluginIsValidated function core/modules/field/tests/src/Kernel/Entity/FieldConfigValidationTest.php Tests that the field type plugin's existence is validated.
FieldStorageConfigValidationTest::testFieldTypePluginIsValidated function core/modules/field/tests/src/Kernel/Entity/FieldStorageConfigValidationTest.php Tests that the field type plugin's existence is validated.
FormState::isValidationComplete function core/lib/Drupal/Core/Form/FormState.php Determines if validation has been completed.
FormState::isValidationEnforced function core/lib/Drupal/Core/Form/FormState.php Checks if validation is enforced.
FormStateDecoratorBase::isValidationComplete function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Determines if validation has been completed.
FormStateDecoratorBase::isValidationEnforced function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Checks if validation is enforced.
FormStateDecoratorBaseTest::testIsValidationComplete function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::isValidationComplete
FormStateDecoratorBaseTest::testIsValidationEnforced function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::isValidationEnforced
FormStateInterface::isValidationComplete function core/lib/Drupal/Core/Form/FormStateInterface.php Determines if validation has been completed.
FormStateInterface::isValidationEnforced function core/lib/Drupal/Core/Form/FormStateInterface.php Checks if validation is enforced.
FormUploadedFile::isValid function core/modules/file/src/Upload/FormUploadedFile.php Returns whether the file was uploaded successfully.
GDToolkit::isValid function core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php Checks if the image is valid.
Image::isValid function core/lib/Drupal/Core/Image/Image.php Checks if the image is valid.
ImageInterface::isValid function core/lib/Drupal/Core/Image/ImageInterface.php Checks if the image is valid.
ImageTest::testIsValid function core/tests/Drupal/Tests/Core/Image/ImageTest.php Tests \Drupal\Core\Image\Image::isValid().
ImageToolkitInterface::isValid function core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php Checks if the image is valid.
InputStreamUploadedFile::isValid function core/modules/file/src/Upload/InputStreamUploadedFile.php Returns whether the file was uploaded successfully.
JsonApiSpec::isValidCustomQueryParameter function core/modules/jsonapi/src/JsonApiSpec.php Checks whether the given custom query parameter name is valid.
JsonApiSpec::isValidMemberName function core/modules/jsonapi/src/JsonApiSpec.php Checks whether the given member name is valid.
JsonApiSpecTest::providerTestIsValidCustomQueryParameter function core/modules/jsonapi/tests/src/Unit/JsonApiSpecTest.php Data provider for testIsValidCustomQueryParameter.
JsonApiSpecTest::providerTestIsValidMemberName function core/modules/jsonapi/tests/src/Unit/JsonApiSpecTest.php Data provider for testIsValidMemberName.
JsonApiSpecTest::testIsValidCustomQueryParameter function core/modules/jsonapi/tests/src/Unit/JsonApiSpecTest.php Provides test cases.
JsonApiSpecTest::testIsValidMemberName function core/modules/jsonapi/tests/src/Unit/JsonApiSpecTest.php Ensures that member names are properly validated.
LibraryDiscoveryParser::isValidUri function core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php Determines if the supplied string is a valid URI.
MediaLibraryState::isValidHash function core/modules/media_library/src/MediaLibraryState.php Validate a hash for the state object.
MediaTypeValidationTest::testMediaSourceIsValidated function core/modules/media/tests/src/Kernel/MediaTypeValidationTest.php Tests that the media source plugin's existence is validated.
MigrationLookup::isValid function core/modules/migrate/src/Plugin/migrate/process/MigrationLookup.php Determines if the value is valid for lookup.
PathValidator::isValid function core/lib/Drupal/Core/Path/PathValidator.php
PathValidatorInterface::isValid function core/lib/Drupal/Core/Path/PathValidatorInterface.php Checks if the URL path is valid and accessible by the current user.
PathValidatorTest::testIsValidWithAccessDenied function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Tests the isValid() method with a user without access to the path.

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