Search for required

  1. Search 7.x for required
  2. Search 9.5.x for required
  3. Search 10.3.x for required
  4. Search 11.x for required
  5. Other projects
Title Object type File name Summary
MoveRevisionMetadataFieldsUpdateTest::testAddingRequiredRevisionMetadataKeys function core/modules/system/tests/src/Functional/Entity/Update/MoveRevisionMetadataFieldsUpdateTest.php Tests the addition of required revision metadata keys.
RequiredFieldStorageDefinitionInterface interface core/lib/Drupal/Core/Field/RequiredFieldStorageDefinitionInterface.php Defines an interface for required field storage definitions.
RequiredFieldStorageDefinitionInterface.php file core/lib/Drupal/Core/Field/RequiredFieldStorageDefinitionInterface.php
RequiredFieldStorageDefinitionInterface::isStorageRequired function core/lib/Drupal/Core/Field/RequiredFieldStorageDefinitionInterface.php Returns whether the field storage is required.
RequiredModuleUninstallValidator class core/lib/Drupal/Core/ProxyClass/Extension/RequiredModuleUninstallValidator.php Provides a proxy class for \Drupal\Core\Extension\RequiredModuleUninstallValidator.
RequiredModuleUninstallValidator class core/lib/Drupal/Core/Extension/RequiredModuleUninstallValidator.php Ensures that required modules cannot be uninstalled.
RequiredModuleUninstallValidator.php file core/lib/Drupal/Core/ProxyClass/Extension/RequiredModuleUninstallValidator.php
RequiredModuleUninstallValidator.php file core/lib/Drupal/Core/Extension/RequiredModuleUninstallValidator.php
RequiredModuleUninstallValidator::$container property core/lib/Drupal/Core/ProxyClass/Extension/RequiredModuleUninstallValidator.php The service container.
RequiredModuleUninstallValidator::$drupalProxyOriginalServiceId property core/lib/Drupal/Core/ProxyClass/Extension/RequiredModuleUninstallValidator.php The id of the original proxied service.
RequiredModuleUninstallValidator::$moduleExtensionList property core/lib/Drupal/Core/Extension/RequiredModuleUninstallValidator.php The module extension list.
RequiredModuleUninstallValidator::$service property core/lib/Drupal/Core/ProxyClass/Extension/RequiredModuleUninstallValidator.php The real proxied service, after it was lazy loaded.
RequiredModuleUninstallValidator::getModuleInfoByModule function core/lib/Drupal/Core/Extension/RequiredModuleUninstallValidator.php Returns the module info for a specific module.
RequiredModuleUninstallValidator::lazyLoadItself function core/lib/Drupal/Core/ProxyClass/Extension/RequiredModuleUninstallValidator.php Lazy loads the real service from the container.
RequiredModuleUninstallValidator::setStringTranslation function core/lib/Drupal/Core/ProxyClass/Extension/RequiredModuleUninstallValidator.php
RequiredModuleUninstallValidator::validate function core/lib/Drupal/Core/ProxyClass/Extension/RequiredModuleUninstallValidator.php Determines the reasons a module can not be uninstalled.
RequiredModuleUninstallValidator::validate function core/lib/Drupal/Core/Extension/RequiredModuleUninstallValidator.php Determines the reasons a module can not be uninstalled.
RequiredModuleUninstallValidator::__construct function core/lib/Drupal/Core/ProxyClass/Extension/RequiredModuleUninstallValidator.php Constructs a ProxyClass Drupal proxy object.
RequiredModuleUninstallValidator::__construct function core/lib/Drupal/Core/Extension/RequiredModuleUninstallValidator.php Constructs a new RequiredModuleUninstallValidator.
RequiredModuleUninstallValidatorTest class core/tests/Drupal/Tests/Core/Extension/RequiredModuleUninstallValidatorTest.php @coversDefaultClass \Drupal\Core\Extension\RequiredModuleUninstallValidator
@group Extension
RequiredModuleUninstallValidatorTest.php file core/tests/Drupal/Tests/Core/Extension/RequiredModuleUninstallValidatorTest.php
RequiredModuleUninstallValidatorTest::$uninstallValidator property core/tests/Drupal/Tests/Core/Extension/RequiredModuleUninstallValidatorTest.php
RequiredModuleUninstallValidatorTest::setUp function core/tests/Drupal/Tests/Core/Extension/RequiredModuleUninstallValidatorTest.php
RequiredModuleUninstallValidatorTest::testValidateNoModule function core/tests/Drupal/Tests/Core/Extension/RequiredModuleUninstallValidatorTest.php @covers ::validate
RequiredModuleUninstallValidatorTest::testValidateNotRequired function core/tests/Drupal/Tests/Core/Extension/RequiredModuleUninstallValidatorTest.php @covers ::validate
RequiredModuleUninstallValidatorTest::testValidateRequired function core/tests/Drupal/Tests/Core/Extension/RequiredModuleUninstallValidatorTest.php @covers ::validate
RequiredStateMissingException class core/modules/workflows/src/Exception/RequiredStateMissingException.php Indicates that a workflow does not contain a required state.
RequiredStateMissingException.php file core/modules/workflows/src/Exception/RequiredStateMissingException.php
RequiredStatesTest class core/modules/workflows/tests/src/Kernel/RequiredStatesTest.php Tests Workflow type's required states and configuration initialization.
RequiredStatesTest.php file core/modules/workflows/tests/src/Kernel/RequiredStatesTest.php
RequiredStatesTest::$modules property core/modules/workflows/tests/src/Kernel/RequiredStatesTest.php Modules to enable.
RequiredStatesTest::testChangeRequiredStateAPI function core/modules/workflows/tests/src/Kernel/RequiredStatesTest.php Ensures that initialized configuration can be changed.
RequiredStatesTest::testDeleteRequiredStateAPI function core/modules/workflows/tests/src/Kernel/RequiredStatesTest.php @covers \Drupal\workflows\Entity\Workflow::preSave
RequiredStatesTest::testGetRequiredStates function core/modules/workflows/tests/src/Kernel/RequiredStatesTest.php @covers ::getRequiredStates
@covers ::__construct
RequiredStatesTest::testNoStatesRequiredStateAPI function core/modules/workflows/tests/src/Kernel/RequiredStatesTest.php @covers \Drupal\workflows\Entity\Workflow::preSave
RequiredStateTestType class core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/RequiredStateTestType.php Test workflow type.
RequiredStateTestType.php file core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/RequiredStateTestType.php
RequiredStateTestType::defaultConfiguration function core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/RequiredStateTestType.php Gets default configuration for this plugin.
required_module_uninstall_validator service core/core.services.yml Drupal\Core\Extension\RequiredModuleUninstallValidator
ResourceIdentifier::toResourceIdentifiersWithArityRequired function core/modules/jsonapi/src/JsonApiResource/ResourceIdentifier.php Creates an array of ResourceIdentifier objects with arity on every value.
ShapeItemRequired class core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/ShapeItemRequired.php Defines the 'shape_required' field type.
ShapeItemRequired.php file core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/ShapeItemRequired.php
ShapeItemRequired::propertyDefinitions function core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/ShapeItemRequired.php Defines field item properties.
SkipRequiredModulesTest class core/modules/simpletest/src/Tests/SkipRequiredModulesTest.php Tests if Simpletest-based tests are skipped based on module requirements.
SkipRequiredModulesTest.php file core/modules/simpletest/src/Tests/SkipRequiredModulesTest.php
SkipRequiredModulesTest::testModuleNotFound function core/modules/simpletest/src/Tests/SkipRequiredModulesTest.php
StateFileExists::$stateFileRequired property core/modules/migrate_drupal/tests/src/Kernel/StateFileExists.php Modules that should have a migrate_drupal.yml file.
TaggedHandlersPassTest::testIdCollectorProcessRequiredHandlers function core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php Tests a required consumer with no handlers.
TaggedHandlersPassTest::testProcessRequiredHandlers function core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php Tests a required consumer with no handlers.
TestFieldConstraint::getRequiredOptions function core/modules/field/tests/modules/field_test/src/Plugin/Validation/Constraint/TestFieldConstraint.php

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