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
FormValidatorTest::testPerformRequiredValidation function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php @covers ::performRequiredValidation
FormValidatorTest::testRequiredErrorMessage function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php @covers ::doValidateForm
ImageFieldValidateTest::testRequiredAttributes function core/modules/image/tests/src/Functional/ImageFieldValidateTest.php Test that required alt/title fields gets validated right.
ImageWidget::validateRequiredFields function core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php Validate callback for alt and title field, if the user wants them required.
InfoParserDynamic::getRequiredKeys function core/lib/Drupal/Core/Extension/InfoParserDynamic.php Returns an array of keys required to exist in .info.yml file.
InputRequired class core/modules/views/src/Plugin/views/exposed_form/InputRequired.php Exposed form plugin that provides an exposed form with required input.
InputRequired.php file core/modules/views/src/Plugin/views/exposed_form/InputRequired.php
InputRequired::buildOptionsForm function core/modules/views/src/Plugin/views/exposed_form/InputRequired.php Provide a form to edit options for this plugin.
InputRequired::defineOptions function core/modules/views/src/Plugin/views/exposed_form/InputRequired.php Information about options for all kinds of purposes will be held here.
InputRequired::exposedFilterApplied function core/modules/views/src/Plugin/views/exposed_form/InputRequired.php
InputRequired::preRender function core/modules/views/src/Plugin/views/exposed_form/InputRequired.php Runs before the view is rendered.
InputRequired::query function core/modules/views/src/Plugin/views/exposed_form/InputRequired.php Add anything to the query that we might need to.
InputRequired::submitOptionsForm function core/modules/views/src/Plugin/views/exposed_form/InputRequired.php Handle any special handling on the validate form.
InstallTest::testRequiredModuleSchemaVersions function core/modules/system/tests/src/Functional/Module/InstallTest.php Tests recorded schema versions of early installed modules in the installer.
LocaleDefaultConfigStorage::$requiredInstallStorage property core/modules/locale/src/LocaleDefaultConfigStorage.php The storage instance for reading required default configuration data.
MediaLibraryState::validateRequiredParameters function core/modules/media_library/src/MediaLibraryState.php Validates the required parameters for a new MediaLibraryState object.
MigrateDrupalUpdateTest::testSourceFeedRequired function core/modules/migrate_drupal/tests/src/Functional/MigrateDrupalUpdateTest.php Tests migrate_drupal_multilingual uninstallation.
MigrateValidatableEntityInterface::isEntityValidationRequired function core/modules/migrate/src/Plugin/MigrateValidatableEntityInterface.php Returns a state of whether an entity needs to be validated before saving.
MigrationProvidersExistTest::testFieldProviderMissingRequiredProperty function core/modules/migrate/tests/src/Kernel/Plugin/MigrationProvidersExistTest.php Test a missing required definition.
ModuleExtensionList::ensureRequiredDependencies function core/lib/Drupal/Core/Extension/ModuleExtensionList.php Marks dependencies of required modules as 'required', recursively.
ModuleRequiredByThemesUninstallValidator class core/lib/Drupal/Core/ProxyClass/Extension/ModuleRequiredByThemesUninstallValidator.php Provides a proxy class for \Drupal\Core\Extension\ModuleRequiredByThemesUninstallValidator.
ModuleRequiredByThemesUninstallValidator class core/lib/Drupal/Core/Extension/ModuleRequiredByThemesUninstallValidator.php Ensures modules cannot be uninstalled if enabled themes depend on them.
ModuleRequiredByThemesUninstallValidator.php file core/lib/Drupal/Core/ProxyClass/Extension/ModuleRequiredByThemesUninstallValidator.php
ModuleRequiredByThemesUninstallValidator.php file core/lib/Drupal/Core/Extension/ModuleRequiredByThemesUninstallValidator.php
ModuleRequiredByThemesUninstallValidator::$container property core/lib/Drupal/Core/ProxyClass/Extension/ModuleRequiredByThemesUninstallValidator.php The service container.
ModuleRequiredByThemesUninstallValidator::$drupalProxyOriginalServiceId property core/lib/Drupal/Core/ProxyClass/Extension/ModuleRequiredByThemesUninstallValidator.php The id of the original proxied service.
ModuleRequiredByThemesUninstallValidator::$moduleExtensionList property core/lib/Drupal/Core/Extension/ModuleRequiredByThemesUninstallValidator.php The module extension list.
ModuleRequiredByThemesUninstallValidator::$service property core/lib/Drupal/Core/ProxyClass/Extension/ModuleRequiredByThemesUninstallValidator.php The real proxied service, after it was lazy loaded.
ModuleRequiredByThemesUninstallValidator::$themeExtensionList property core/lib/Drupal/Core/Extension/ModuleRequiredByThemesUninstallValidator.php The theme extension list.
ModuleRequiredByThemesUninstallValidator::getThemesDependingOnModule function core/lib/Drupal/Core/Extension/ModuleRequiredByThemesUninstallValidator.php Returns themes that depend on a module.
ModuleRequiredByThemesUninstallValidator::lazyLoadItself function core/lib/Drupal/Core/ProxyClass/Extension/ModuleRequiredByThemesUninstallValidator.php Lazy loads the real service from the container.
ModuleRequiredByThemesUninstallValidator::setStringTranslation function core/lib/Drupal/Core/ProxyClass/Extension/ModuleRequiredByThemesUninstallValidator.php
ModuleRequiredByThemesUninstallValidator::validate function core/lib/Drupal/Core/ProxyClass/Extension/ModuleRequiredByThemesUninstallValidator.php Determines the reasons a module can not be uninstalled.
ModuleRequiredByThemesUninstallValidator::validate function core/lib/Drupal/Core/Extension/ModuleRequiredByThemesUninstallValidator.php Determines the reasons a module can not be uninstalled.
ModuleRequiredByThemesUninstallValidator::__construct function core/lib/Drupal/Core/ProxyClass/Extension/ModuleRequiredByThemesUninstallValidator.php Constructs a ProxyClass Drupal proxy object.
ModuleRequiredByThemesUninstallValidator::__construct function core/lib/Drupal/Core/Extension/ModuleRequiredByThemesUninstallValidator.php Constructs a new ModuleRequiredByThemesUninstallValidator.
ModuleRequiredByThemesUninstallValidatorTest class core/tests/Drupal/Tests/Core/Extension/ModuleRequiredByThemesUninstallValidatorTest.php @coversDefaultClass \Drupal\Core\Extension\ModuleRequiredByThemesUninstallValidator
@group Extension
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().

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