万本电子书0元读

万本电子书0元读

顶部广告

Drupal 8 Configuration Management电子书

售       价:¥

2人正在读 | 0人评论 9.8

作       者:Stefan Borchert

出  版  社:Packt Publishing

出版时间:2015-03-23

字       数:108.7万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
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.
目录展开

Drupal 8 Configuration Management

Table of Contents

Drupal 8 Configuration Management

Credits

About the Authors

About the Reviewer

www.PacktPub.com

Support files, eBooks, discount offers, and more

Why subscribe?

Free access for Packt account holders

Preface

So what is configuration in Drupal terms?

How it works in Drupal 8

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Errata

Piracy

Questions

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 Feature

The 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

2. Configuration Management for Administrators

Why do we want to manage our configuration?

Making a clone of your site

The Configuration Management interface

The interface options

Using full import/export

Single import/export

Summary

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 directories

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

4. The Configuration Management API

A 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

5. The Anatomy of Schema Files

What are schema files in Drupal?

The structure of a schema file

Properties

Data 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

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

Adding a form controller

Route and menu items

The result

Summary

7. Upgrading Your Drupal 7 Variables to the Drupal 8 Configuration

Upgrading your variables

Simple configuration

Complex configuration objects

Upgrading to the new state system

Providing an upgrade path for your variables

Migrating your data

Source plugins

Process plugins

Destination plugins

Running the migration

Summary

8. Managing Configuration for Multilingual Websites

Multilingual sites in Drupal 7

The Locale module

Content translation

Translating other types of content

Translation settings/configuration

Translating entities

Translating in Drupal 8

Configuration translation

Translating the configuration

Storing translations

Exporting and importing configuration translations

Summary

9. Useful Tools and Getting Help

Community documentation

The administration guide documentation

Contributed modules

The configuration inspector for Drupal 8

Configuration development

Drush

Exporting and importing your configuration using Drush commands

Forums

The issue queue

IRC chat

Summary

Questions

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部