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\ComponentCode
public readonly bool $mandatorySchemas;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.