ComponentMetadata::$mandatorySchemas

Same name in this branch
  1. 11.x core/modules/sdc/src/Component/ComponentMetadata.php \Drupal\sdc\Component\ComponentMetadata::mandatorySchemas
Same name in other branches
  1. 10 core/modules/sdc/src/Component/ComponentMetadata.php \Drupal\sdc\Component\ComponentMetadata::mandatorySchemas
  2. 10 core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php \Drupal\Core\Theme\Component\ComponentMetadata::mandatorySchemas

TRUE if the schemas for props and slots are mandatory.

Type: bool

File

core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php, line 85

Class

ComponentMetadata
Component metadata.

Namespace

Drupal\Core\Theme\Component

Code

public readonly bool $mandatorySchemas;

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