Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Drupal 8 Configuration Management

You're reading from   Drupal 8 Configuration Management

Arrow left icon
Product type Paperback
Published in Mar 2015
Publisher
ISBN-13 9781783985203
Length 148 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Toc

Table of Contents (11) Chapters Close

Preface 1. Understanding Configuration Management FREE CHAPTER 2. Configuration Management for Administrators 3. Drupal 8's Take on Configuration Management 4. The Configuration Management API 5. The Anatomy of Schema Files 6. Adding Configuration Management to Your Module 7. Upgrading Your Drupal 7 Variables to the Drupal 8 Configuration 8. Managing Configuration for Multilingual Websites 9. Useful Tools and Getting Help 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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at AU $24.99/month. Cancel anytime