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
BlockContent::invalidateBlockPluginCache function core/modules/block_content/src/Entity/BlockContent.php Invalidates the block plugin cache after changes and deletions.
BlockContentEntityChangedConstraintValidator class core/modules/block_content/src/Plugin/Validation/Constraint/BlockContentEntityChangedConstraintValidator.php Validates the BlockContentEntityChanged constraint.
BlockContentEntityChangedConstraintValidator.php file core/modules/block_content/src/Plugin/Validation/Constraint/BlockContentEntityChangedConstraintValidator.php
BlockContentEntityChangedConstraintValidator::validate function core/modules/block_content/src/Plugin/Validation/Constraint/BlockContentEntityChangedConstraintValidator.php
BlockContentTypeValidationTest class core/modules/block_content/tests/src/Kernel/BlockContentTypeValidationTest.php Tests validation of block_content_type entities.
BlockContentTypeValidationTest.php file core/modules/block_content/tests/src/Kernel/BlockContentTypeValidationTest.php
BlockContentTypeValidationTest::$modules property core/modules/block_content/tests/src/Kernel/BlockContentTypeValidationTest.php Modules to install.
BlockContentTypeValidationTest::$propertiesWithOptionalValues property core/modules/block_content/tests/src/Kernel/BlockContentTypeValidationTest.php The config entity properties whose values are optional (set to NULL).
BlockContentTypeValidationTest::setUp function core/modules/block_content/tests/src/Kernel/BlockContentTypeValidationTest.php
BlockEntitySettingTrayForm::validateVisibility function core/modules/settings_tray/src/Block/BlockEntitySettingTrayForm.php Helper function to independently validate the visibility UI.
BlockForm::validateForm function core/modules/block/src/BlockForm.php Form validation handler.
BlockForm::validateVisibility function core/modules/block/src/BlockForm.php Helper function to independently validate the visibility UI.
BlockFormMessagesTest::testValidationMessage function core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFormMessagesTest.php Tests that validation messages are shown on the block form.
BlockInstallTest::testCacheTagInvalidationUponInstallation function core/modules/block/tests/src/Functional/BlockInstallTest.php
BlockInvalidRegionTest class core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php Tests that blocks assigned to invalid regions are disabled with a warning.
BlockInvalidRegionTest.php file core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php
BlockInvalidRegionTest::$defaultTheme property core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php The theme to install as the default for testing.
BlockInvalidRegionTest::$modules property core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php Modules to install.
BlockInvalidRegionTest::setUp function core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php
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::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.
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.

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