Search for required

  1. Search 9.5.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
DRUPAL_REQUIRED constant modules/system/system.module Required option on forms and settings
drupal_required_modules function includes/module.inc Returns an array of modules required by core.
FieldFormTestCase::testFieldFormMultivalueWithRequiredRadio function modules/field/tests/field.test Tests widget handling of multiple required radios.
FieldFormTestCase::testFieldFormSingleRequired function modules/field/tests/field.test
FieldFormTestCase::testFieldFormUnlimitedRequired function modules/field/tests/field.test Tests the position of the required label.
FileFieldValidateTestCase::testRequired function modules/file/tests/file.test Tests the required property on file fields.
FormsTestCase::testRequiredCheckboxesRadio function modules/simpletest/tests/form.test Tests validation for required checkbox, select, and radio elements.
FormsTestCase::testRequiredFields function modules/simpletest/tests/form.test Check several empty values for required forms elements.
FormsTestCase::testRequiredTextfieldNoTitle function modules/simpletest/tests/form.test Tests validation for required textfield element without title.
form_test_validate_required_form function modules/simpletest/tests/form_test.module Form constructor to test the #required property.
form_test_validate_required_form_no_title function modules/simpletest/tests/form_test.module Form constructor to test the #required property without #title.
form_test_validate_required_form_no_title_submit function modules/simpletest/tests/form_test.module Form submission handler for form_test_validate_required_form_no_title().
form_test_validate_required_form_submit function modules/simpletest/tests/form_test.module Form submission handler for form_test_validate_required_form().
ModuleRequiredTestCase class modules/system/system.test Test required modules functionality.
ModuleRequiredTestCase::getInfo function modules/system/system.test
ModuleRequiredTestCase::testDisableRequired function modules/system/system.test Assert that core required modules cannot be disabled.
REQUIRED_D6_SCHEMA_VERSION constant includes/update.inc Minimum schema version of Drupal 6 required for upgrade to Drupal 7.
theme_form_required_marker function includes/form.inc Returns HTML for a marker for required form elements.

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