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
FormTestValidateRequiredNoTitleForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestValidateRequiredNoTitleForm.php
FormTestValidateRequiredNoTitleForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateRequiredNoTitleForm.php Form constructor.
FormTestValidateRequiredNoTitleForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateRequiredNoTitleForm.php Returns a unique string identifying the form.
FormTestValidateRequiredNoTitleForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestValidateRequiredNoTitleForm.php Form submission handler.
FormValidator::performRequiredValidation function core/lib/Drupal/Core/Form/FormValidator.php Performs validation of elements that are not subject to limited validation.
FormValidatorTest::providerTestPerformRequiredValidation function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php
FormValidatorTest::providerTestRequiredErrorMessage function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php
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 Tests that required alt/title fields gets validated right.
ImageTestBase::providerAltTextRequired function core/modules/ckeditor5/tests/src/FunctionalJavascript/ImageTestBase.php
ImageTestBase::testAltTextRequired function core/modules/ckeditor5/tests/src/FunctionalJavascript/ImageTestBase.php Tests that alt text is required for images.
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.
MediaLibraryWidget::validateRequired function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Validates whether the widget is required and contains values.
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 Tests a missing required definition.
ModuleExtensionList::ensureRequiredDependencies function core/lib/Drupal/Core/Extension/ModuleExtensionList.php Marks dependencies of required modules as 'required', recursively.
ModuleLegacyTest::testDrupalRequiredModules function core/tests/Drupal/KernelTests/Core/Extension/ModuleLegacyTest.php Test deprecation of drupal_required_modules() function.
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::validateConfigImport function core/lib/Drupal/Core/ProxyClass/Extension/ModuleRequiredByThemesUninstallValidator.php Determines reasons a module can not be uninstalled prior to config import.
ModuleRequiredByThemesUninstallValidator::validateConfigImport function core/lib/Drupal/Core/Extension/ModuleRequiredByThemesUninstallValidator.php Determines reasons a module can not be uninstalled prior to config import.
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

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