Properties

In the previous example, you see some of the properties used in schema files. These properties define the basic structure of the schema and influence the possible usage of the inherited configuration objects. Let's take a look at them:

  • type: This is the data type of the configuration value. This may be either one of the base types or a derived type. We will show the difference between both later in this chapter.
  • label: This is a short description for the value. It does not have to match a corresponding configuration form label but, for clarity, they should match.
  • translatable: This indicates whether the defined data type is translatable or not.
  • translation context: This is a string context used for the translation. Drupal uses different ...

Get Drupal 8 Configuration Management now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.