Book Image

Drupal 8 Configuration Management

Book Image

Drupal 8 Configuration Management

Overview of this book

Table of Contents (16 chapters)
Drupal 8 Configuration Management
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface
Index

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 contexts to allow translating the same word depending on where it is used on the site. For example, the word View can be used either to describe a list of entities or simply to display something. The translation context helps to differentiate between...