DRUPAL_REQUIRED
Required option on forms and settings.
5 uses of DRUPAL_REQUIRED
- CommentForm::actions in core/
modules/ comment/ src/ CommentForm.php - Returns an array of supported actions for the current entity form.
- LinkField::alterFieldInstanceMigration in core/
modules/ link/ src/ Plugin/ migrate/ field/ d7/ LinkField.php - Apply any custom processing to the field instance migration.
- LinkItem::generateSampleValue in core/
modules/ link/ src/ Plugin/ Field/ FieldType/ LinkItem.php - Generates placeholder field values.
- LinkWidget::formElement in core/
modules/ link/ src/ Plugin/ Field/ FieldWidget/ LinkWidget.php - Returns the form for a single field widget.
- NodeForm::actions in core/
modules/ node/ src/ NodeForm.php - Returns an array of supported actions for the current entity form.
File
-
core/
modules/ system/ system.module, line 27
Code
const DRUPAL_REQUIRED = 2;