Search for required
- Search 7.x for required
- Search 8.9.x for required
- Search 10.3.x for required
- Search 11.x for required
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
DataDefinition::isRequired | function | core/ |
Determines whether a data value is required. |
DataDefinition::setRequired | function | core/ |
Sets whether the data is required. |
DataDefinitionInterface::isRequired | function | core/ |
Determines whether a data value is required. |
DefaultPluginManagerTest::testGetDefinitionsWithoutRequiredInterface | function | core/ |
Tests plugins without a required interface. |
DocParserTest::testAnnotationWithRequiredAttributes | function | core/ |
|
DocParserTest::testAnnotationWithRequiredAttributesWithoutContructor | function | core/ |
|
DrupalCoreComposer::getRequireDev | function | composer/ |
Return the "require-dev" section from root or core composer.json file. |
DRUPAL_REQUIRED | constant | core/ |
Required option on forms and settings. |
drupal_required_modules | function | core/ |
Returns an array of modules required by core. |
ElementTest::testRequiredFieldsetsAndDetails | function | core/ |
Tests the #required property on details and fieldset elements. |
EntityContentBase::isEntityValidationRequired | function | core/ |
Returns a state of whether an entity needs to be validated before saving. |
EntityHasFieldConstraint::getRequiredOptions | function | core/ |
|
EntityReferenceWidgetTest::testRequiredMediaField | function | core/ |
Tests saving a required media library field. |
EntityTypeConstraint::getRequiredOptions | function | core/ |
|
ExposedFormTest::testInputRequired | function | core/ |
Tests the input required exposed form type. |
ExposedFormTest::testTextInputRequired | function | core/ |
Tests the "on demand text" for the input required exposed form type. |
FieldableEntityInterface::isValidationRequired | function | core/ |
Checks whether entity validation is required before saving the entity. |
FieldableEntityInterface::setValidationRequired | function | core/ |
Sets whether entity validation is required before saving the entity. |
FieldConfigBase::$required | property | core/ |
Flag indicating whether the field is required. |
FieldConfigBase::isRequired | function | core/ |
Returns whether the field can be empty. |
FieldConfigBase::setRequired | function | core/ |
Sets whether the field can be empty. |
FieldConfigInterface::setRequired | function | core/ |
Sets whether the field can be empty. |
FieldDefinitionInterface::isRequired | function | core/ |
Returns whether the field can be empty. |
FieldDefinitionTest::testFieldRequired | function | core/ |
Tests required. |
FileFieldValidateTest::testRequired | function | core/ |
Tests the required property on file fields. |
FileRequiredTestForm | class | core/ |
File required test form class. |
FileRequiredTestForm.php | file | core/ |
|
FileRequiredTestForm::buildForm | function | core/ |
Form constructor. |
FileRequiredTestForm::getFormId | function | core/ |
Returns a unique string identifying the form. |
FilterFormTest::assertRequiredSelectAndOptions | function | core/ |
Asserts that there is a select element with the given ID that is required. |
FilterPluginBase::$always_required | property | core/ |
Disable the possibility to allow an exposed input to be optional. |
FormTest::testFieldFormMultivalueWithRequiredRadio | function | core/ |
Tests widget handling of multiple required radios. |
FormTest::testFieldFormSingleRequired | function | core/ |
|
FormTest::testFieldFormUnlimitedRequired | function | core/ |
Tests the position of the required label. |
FormTest::testRequiredAttribute | function | core/ |
Tests required attribute. |
FormTest::testRequiredCheckboxesRadio | function | core/ |
Tests validation for required checkbox, select, and radio elements. |
FormTest::testRequiredFields | function | core/ |
Check several empty values for required forms elements. |
FormTest::testRequiredTextfieldNoTitle | function | core/ |
Tests validation for required textfield element without title. |
FormTestRequiredAttributeForm | class | core/ |
Builds a form to test the required attribute. |
FormTestRequiredAttributeForm.php | file | core/ |
|
FormTestRequiredAttributeForm::buildForm | function | core/ |
Form constructor. |
FormTestRequiredAttributeForm::getFormId | function | core/ |
Returns a unique string identifying the form. |
FormTestRequiredAttributeForm::submitForm | function | core/ |
Form submission handler. |
FormTestValidateRequiredForm | class | core/ |
Form constructor to test the #required property. |
FormTestValidateRequiredForm.php | file | core/ |
|
FormTestValidateRequiredForm::buildForm | function | core/ |
Form constructor. |
FormTestValidateRequiredForm::elementValidateRequired | function | core/ |
|
FormTestValidateRequiredForm::getFormId | function | core/ |
Returns a unique string identifying the form. |
FormTestValidateRequiredForm::submitForm | function | core/ |
Form submission handler. |
FormTestValidateRequiredNoTitleForm | class | core/ |
Form constructor to test the #required property without #title. |
Pagination
- Previous page
- Page 2
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.