Search for required

  1. Search 7.x for required
  2. Search 8.9.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
ModuleRequiredByThemesUninstallValidatorTest.php file core/tests/Drupal/Tests/Core/Extension/ModuleRequiredByThemesUninstallValidatorTest.php
ModuleRequiredByThemesUninstallValidatorTest::$moduleExtensionList property core/tests/Drupal/Tests/Core/Extension/ModuleRequiredByThemesUninstallValidatorTest.php Mock of ModuleExtensionList.
ModuleRequiredByThemesUninstallValidatorTest::$moduleRequiredByThemeUninstallValidator property core/tests/Drupal/Tests/Core/Extension/ModuleRequiredByThemesUninstallValidatorTest.php Instance of ModuleRequiredByThemesUninstallValidator.
ModuleRequiredByThemesUninstallValidatorTest::$themeExtensionList property core/tests/Drupal/Tests/Core/Extension/ModuleRequiredByThemesUninstallValidatorTest.php Mock of ThemeExtensionList.
ModuleRequiredByThemesUninstallValidatorTest::setUp function core/tests/Drupal/Tests/Core/Extension/ModuleRequiredByThemesUninstallValidatorTest.php
ModuleRequiredByThemesUninstallValidatorTest::testValidateNoThemeDependency function core/tests/Drupal/Tests/Core/Extension/ModuleRequiredByThemesUninstallValidatorTest.php @covers ::validate
ModuleRequiredByThemesUninstallValidatorTest::testValidateOneThemeDependency function core/tests/Drupal/Tests/Core/Extension/ModuleRequiredByThemesUninstallValidatorTest.php @covers ::validate
ModuleRequiredByThemesUninstallValidatorTest::testValidateTwoThemeDependencies function core/tests/Drupal/Tests/Core/Extension/ModuleRequiredByThemesUninstallValidatorTest.php @covers ::validate
ModulesListFormWebTest::testRequiredByThemeMessage function core/modules/system/tests/src/Functional/Form/ModulesListFormWebTest.php Confirm that module 'Required By' descriptions include dependent themes.
module_required_by_themes_uninstall_validator service core/core.services.yml Drupal\Core\Extension\ModuleRequiredByThemesUninstallValidator
module_required_test.info.yml file core/modules/system/tests/modules/module_required_test/module_required_test.info.yml core/modules/system/tests/modules/module_required_test/module_required_test.info.yml
module_required_test.module file core/modules/system/tests/modules/module_required_test/module_required_test.module Test module.
module_required_test_system_info_alter function core/modules/system/tests/modules/module_required_test/module_required_test.module Implements hook_system_info_alter().
OptionsWidgetBase::$required property core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsWidgetBase.php Tracks whether the field is required.
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

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