Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. system.module

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;
RSS feed
Powered by Drupal