ComponentMetadata::$schema

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

Schema for the component props.

The schemas.

Type: array[]|null

File

core/modules/sdc/src/Component/ComponentMetadata.php, line 73

Class

ComponentMetadata
Component metadata.

Namespace

Drupal\sdc\Component

Code

public readonly ?array $schema;

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