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
BlockInvalidRegionTest::testBlockInInvalidRegion function core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php Tests that blocks assigned to invalid regions work correctly.
BlockListBuilder::validateForm function core/modules/block/src/BlockListBuilder.php Form validation handler.
BlockPluginInterface::blockValidate function core/lib/Drupal/Core/Block/BlockPluginInterface.php Adds block type-specific validation for the block form.
BlockPluginTrait::blockValidate function core/lib/Drupal/Core/Block/BlockPluginTrait.php
BlockPluginTrait::validateConfigurationForm function core/lib/Drupal/Core/Block/BlockPluginTrait.php Most block plugins should not override this method. To add validation
for a specific block type, override BlockBase::blockValidate().
BlockRebuildTest::testRebuildInvalidBlocks function core/modules/block/tests/src/Kernel/BlockRebuildTest.php @covers ::block_rebuild
BlockRebuildTest::testRebuildNoInvalidBlocks function core/modules/block/tests/src/Kernel/BlockRebuildTest.php @covers ::block_rebuild
BlockUiTest::testBlockValidateErrors function core/modules/block/tests/src/Functional/BlockUiTest.php Tests if validation errors are passed plugin form to the parent form.
BlockValidationTest class core/modules/block/tests/src/Kernel/BlockValidationTest.php Tests validation of block entities.
BlockValidationTest.php file core/modules/block/tests/src/Kernel/BlockValidationTest.php
BlockValidationTest::$modules property core/modules/block/tests/src/Kernel/BlockValidationTest.php Modules to install.
BlockValidationTest::$propertiesWithOptionalValues property core/modules/block/tests/src/Kernel/BlockValidationTest.php The config entity properties whose values are optional (set to NULL).
BlockValidationTest::$propertiesWithRequiredKeys property core/modules/block/tests/src/Kernel/BlockValidationTest.php The config entity mapping properties with >=1 required keys.
BlockValidationTest::providerInvalidMachineNameCharacters function core/modules/block/tests/src/Kernel/BlockValidationTest.php Block names are atypical in that they allow periods in the machine name.
BlockValidationTest::setLabel function core/modules/block/tests/src/Kernel/BlockValidationTest.php Sets the label of the given config entity.
BlockValidationTest::setUp function core/modules/block/tests/src/Kernel/BlockValidationTest.php
BlockValidationTest::testInvalidPluginId function core/modules/block/tests/src/Kernel/BlockValidationTest.php Tests validating a block with an unknown plugin ID.
BlockValidationTest::testLabelValidation function core/modules/block/tests/src/Kernel/BlockValidationTest.php Tests validation of config entity's label.
BlockValidationTest::testRegionValidation function core/modules/block/tests/src/Kernel/BlockValidationTest.php Tests validating a block's region in a theme.
BlockValidationTest::testRequiredPropertyValuesMissing function core/modules/block/tests/src/Kernel/BlockValidationTest.php A property that is required must have a value (i.e. not NULL).
BlockValidationTest::testThemeValidation function core/modules/block/tests/src/Kernel/BlockValidationTest.php Tests validating a block with a non-existent theme.
BlockValidationTest::testWeightCannotBeNull function core/modules/block/tests/src/Kernel/BlockValidationTest.php @group legacy
BlockValidationTest::testWeightValidation function core/modules/block/tests/src/Kernel/BlockValidationTest.php Tests validating weight.
book.uninstall_validator service core/modules/book/book.services.yml Drupal\book\BookUninstallValidator
BookAdminEditForm::validateForm function core/modules/book/src/Form/BookAdminEditForm.php Form validation handler.
BookOutlineConstraintValidator class core/modules/book/src/Plugin/Validation/Constraint/BookOutlineConstraintValidator.php Constraint validator for changing the book outline in pending revisions.
BookOutlineConstraintValidator.php file core/modules/book/src/Plugin/Validation/Constraint/BookOutlineConstraintValidator.php
BookOutlineConstraintValidator::$bookManager property core/modules/book/src/Plugin/Validation/Constraint/BookOutlineConstraintValidator.php The book manager.
BookOutlineConstraintValidator::create function core/modules/book/src/Plugin/Validation/Constraint/BookOutlineConstraintValidator.php Instantiates a new instance of this class.
BookOutlineConstraintValidator::validate function core/modules/book/src/Plugin/Validation/Constraint/BookOutlineConstraintValidator.php
BookOutlineConstraintValidator::__construct function core/modules/book/src/Plugin/Validation/Constraint/BookOutlineConstraintValidator.php Creates a new BookOutlineConstraintValidator instance.
BookSettingsForm::validateForm function core/modules/book/src/Form/BookSettingsForm.php Form validation handler.
BookUninstallValidator class core/modules/book/src/ProxyClass/BookUninstallValidator.php Provides a proxy class for \Drupal\book\BookUninstallValidator.
BookUninstallValidator class core/modules/book/src/BookUninstallValidator.php Prevents book module from being uninstalled under certain conditions.
BookUninstallValidator.php file core/modules/book/src/ProxyClass/BookUninstallValidator.php
BookUninstallValidator.php file core/modules/book/src/BookUninstallValidator.php
BookUninstallValidator::$bookOutlineStorage property core/modules/book/src/BookUninstallValidator.php The book outline storage.
BookUninstallValidator::$container property core/modules/book/src/ProxyClass/BookUninstallValidator.php The service container.
BookUninstallValidator::$drupalProxyOriginalServiceId property core/modules/book/src/ProxyClass/BookUninstallValidator.php The id of the original proxied service.
BookUninstallValidator::$entityTypeManager property core/modules/book/src/BookUninstallValidator.php The entity type manager.
BookUninstallValidator::$service property core/modules/book/src/ProxyClass/BookUninstallValidator.php The real proxied service, after it was lazy loaded.
BookUninstallValidator::hasBookNodes function core/modules/book/src/BookUninstallValidator.php Determines if there is any book nodes or not.
BookUninstallValidator::hasBookOutlines function core/modules/book/src/BookUninstallValidator.php Checks if there are any books in an outline.
BookUninstallValidator::lazyLoadItself function core/modules/book/src/ProxyClass/BookUninstallValidator.php Lazy loads the real service from the container.
BookUninstallValidator::setStringTranslation function core/modules/book/src/ProxyClass/BookUninstallValidator.php
BookUninstallValidator::validate function core/modules/book/src/ProxyClass/BookUninstallValidator.php Determines the reasons a module can not be uninstalled.
BookUninstallValidator::validate function core/modules/book/src/BookUninstallValidator.php Determines the reasons a module can not be uninstalled.
BookUninstallValidator::__construct function core/modules/book/src/ProxyClass/BookUninstallValidator.php Constructs a ProxyClass Drupal proxy object.
BookUninstallValidator::__construct function core/modules/book/src/BookUninstallValidator.php Constructs a new BookUninstallValidator.
BookUninstallValidatorTest class core/modules/book/tests/src/Unit/BookUninstallValidatorTest.php @coversDefaultClass \Drupal\book\BookUninstallValidator
@group book

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