Summary

After defining all the classes that we need in order to add, edit, and list entities of the new configuration entity type, we are now able to use this type in configuration objects like every other core type.

So what did we learn in this chapter? We learned about how to get and update configuration values and about the different ways of overriding configuration provided by Drupal or modules; then we created a very simple configuration entity type. Thus, by now, you should be able to create a module and manage your custom configuration right away.

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.