Drupal 8 configuration management : make the most of Drupal's 8's coolest new feature--the configuration management system /
Drupal 8 Configuration Management is intended for people who use Drupal 8 to build websites, whether you are a hobbyist using Drupal for the first time, a long-time Drupal site builder, or a professional web developer.
Clasificación: | Libro Electrónico |
---|---|
Autores principales: | , |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham, UK :
Packt Publishing,
2015.
|
Colección: | Community experience distilled.
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Cover; Copyright; Credits; About the Authors; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Understanding Configuration Management; An introduction to Configuration Management; Configuration; Content; Session; State; Why manage configuration?; Tracking configuration changes; Some version control best practices; Using a project management tool; Meaningful commit messages; Meaningful branches; A look back at Drupal 7; Manual Configuration Management; The hook_install() / hook_update_N() function; The Features module; What is the Features module?
- Creating a FeatureThe settings to export with Features; The settings to not export with Features; The Configuration Management module; Storing configuration variables in settings.php; How Drupal 8 takes care of Configuration Management; How to start using Configuration Management; Using version control to keep track of configuration changes; Types of configuration; Configuration storage and deploying between environments; Summary; Chapter 2: Configuration Management for Administrators; Why do we want to manage our configuration?; Making a clone of your site
- The Configuration Management interfaceThe interface options; Single import/export; Summary; Chapter 3: Drupal 8's Take on Configuration Management; The config directory; A simple configuration example; Config and schema files
- what are they and what are they used for?; Config files; Schema files; Learning the difference between active and staging; Changing the active configuration storage; Changing the storage location of the active and staging directories; Simple configuration versus configuration entities; Simple configuration; Configuration entities; Summary
- Chapter 4: Configuration Management APIA simple configuration API; Working with configuration data; Retrieving the configuration object; Getting configuration values; Setting configuration values; Removing configuration values; Best practices; Getting notified about configuration changes; Overriding the configuration; Global overrides; Language overrides; Module overrides; Avoiding overrides; Creating configuration entity types; Adding the basics; Taking control of your data; Summary; Chapter 5: The Anatomy of Schema Files; What are schema files in Drupal?; The structure of a schema file
- PropertiesData types; Reusing data types; Making data translatable; Dynamic type references; The element-key references; The sub-key references; The parent-key references; Coding standards; PHP API; Summary; Chapter 6: Adding Configuration Management to Your Module; Default configuration; An example; Defining and using your own configuration; Setting your configuration file; Custom configuration entity types; Using the configuration; Creating a configuration form; Configuration forms in Drupal 7; Creating configuration forms in Drupal 8; Summary