Advertising sustains the DA. Ads are hidden for members. Join today

Contributed module documentation

Component Schema

The Component Schema module facilitates development of theme-level components. To use the module, you define a schema for your component in a YAML file in a format closely modelled on Drupal core's configuration schema.

What Component Schema does

Component Schema addresses a number of common needs when developing theme-level components

Defining component properties

Component Schema provides a large set of property types with built-in support for many common use cases

Providing components from a module or theme

You can provide components from a module or theme by defining them in YAML format

Advanced usage

There are several ways to extend and customize Component Schema

Guide maintainers

nedjo's picture