Search for setRequired

  1. Search 7.x for setRequired
  2. Search 9.5.x for setRequired
  3. Search 8.9.x for setRequired
  4. Search 11.x for setRequired
  5. Other projects
Title Object type File name Summary
ContextDefinition::setRequired function core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php Sets whether the data is required.
ContextDefinitionInterface::setRequired function core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php Sets whether the data is required.
DataDefinition::setRequired function core/lib/Drupal/Core/TypedData/DataDefinition.php Sets whether the data is required.
FieldConfigBase::setRequired function core/lib/Drupal/Core/Field/FieldConfigBase.php Sets whether the field can be empty.
FieldConfigInterface::setRequired function core/lib/Drupal/Core/Field/FieldConfigInterface.php Sets whether the field can be empty.

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