In this tutorial, we'll look at the two different ways that configuration is stored in Drupal. By the end of this lesson, you'll understand the difference between simple configuration and configuration entities and how that data is stored in Drupal by default. Note: This tutorial describes Drupal's default behavior.
- View Offline
(cheerful music)…- [Instructor] In Drupal, there are four data storage types.…Content, session, state, and configuration.…Content is information that's meant to be displayed…on your site, like articles, images, files, etc.…Session is information about individual users' interactions…with the site, like whether or not they're logged in.…State is information of a temporary nature…about the state of your site.…For example, the time when Cron was last run.…And then we have configuration, which is information…about your site that's not content,…and is meant to be more permanent,…like the name of your site, content types,…and views that you have defined.…
In Drupal, there two configuration data storage types.…Simple Configuration and Configuration Entities.…All configuration data is stored in the database.…And the configuration system allows us to export…our configuration to YAML files,…using the Drupal UI as well as Drush,…the Drupal command line tool.…So let's take a look at simple configuration.…As I've mentioned, your active configuration…
In this series of tutorials you'll learn all about the new configuration system in Drupal. Explore key concepts in configuration management and important skills, such as moving configuration from a local development environment to production and using the configuration system in a module. Find out how to use command-line tools such as Drupal Console, Drush, and Git, as well as GUI tools as an alternative for tasks like cloning a site and importing and exporting site configuration.
Developers can use the demo module provided with the exercise files, Transcode Profile, to explore default configuration, custom configuration entities, administrative forms, and working with configuration entity data in a form. By the end of the course, you'll understand how you can manage configuration between instances of your site and leverage the Drupal configuration system in a module.