ComponentMetadata::$schema
Schema for the component props.
The schemas.
Type: array[]|null
File
-
core/
lib/ Drupal/ Core/ Theme/ Component/ ComponentMetadata.php, line 71
Class
- ComponentMetadata
- Component metadata.
Namespace
Drupal\Core\Theme\ComponentCode
public readonly ?array $schema;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.