OiiPDF.com

Drupal 8 Development Cookbook

Title Drupal 8 Development Cookbook
Author Matt Glaman
Sub Title Over 60 hands-on recipes that get you acquainted with Drupal 8's features and help you harness its power
ISBN 1785881477
Year 2016
Pages 370
File Formate PDF
Tags CMS

Book Description

Began as a message board, Drupal today is open source software maintained and developed by a community of over 1,000,000 users and developers. Drupal is used by numerous local businesses to global corporations and diverse organizations all across the globe. With Drupal 8’s recent release and the exciting features it brings, this book will be your go-to guide to experimenting with all of these features through helpful recipes.
We’ll start by showing you how to customize and configure the Drupal environment as per your requirements, as well as how to install third-party libraries and then use them in the Drupal environment. Then we will move on to creating blocks and custom modules with the help of libraries. We will show you to use the latest mobile-first feature of Drupal 8, which will help you make your apps responsive across all the major platforms. This book will also show you how to incorporate multilingual facilities in your sites, use web services and third-party plugins with your applications from inside Drupal 8, and test and deploy your apps

Table Of Content

  • Cover
  • Copyright
  • Credits
  • About the Author
  • About the Reviewer
  • www.PacktPub.com
  • Table of Contents
  • Preface
  • Chapter 1: Up and Running with Drupal 8
    • Introduction
    • Installing Drupal
    • Using a distribution
    • Installing modules and themes
    • Using multisites in Drupal 8
    • Tools for setting up an environment
    • Running Simpletest and PHPUnit
  • Chapter 2: The Content Authoring Experience
    • Introduction
    • Configuring the WYSIWYG editor
    • Adding and editing content
    • Creating a menu and linking content
    • Providing inline editing
    • Creating a custom content type
    • Applying new Drupal 8 core field types
    • Customizing the form display of a node
    • Customizing the display output of a node
  • Chapter 3: Displaying Content through Views
    • Introduction
    • Listing content
    • Editing the default admin interfaces
    • Creating a block from a View
    • Utilizing dynamic arguments
    • Adding a relationship in a View
    • Providing an Entity Reference result View
  • Chapter 4: Extending Drupal
    • Introduction
    • Creating a module
    • Defining a custom page
    • Defining permissions
    • Providing the configuration on installation or update
    • Using Features 2.x
  • Chapter 5: Frontend for the Win
    • Introduction
    • Creating a custom theme based on Classy
    • Using the new asset management system
    • Twig templating
    • Using the Breakpoint module
    • Using the Responsive Image module
  • Chapter 6: Creating Forms with the Form API
    • Introduction
    • Creating a form
    • Using new HTML5 elements
    • Validating form data
    • Processing submitted form data
    • Altering other forms
  • Chapter 7: Plug and Play with Plugins
    • Introduction
    • Creating blocks using plugins
    • Creating a custom field type
    • Creating a custom field widget
    • Creating a custom field formatter
    • Creating a custom plugin type
  • Chapter 8: Multilingual and Internationalization
    • Introduction
    • Translating administrative interfaces
    • Translating configuration
    • Translating content
    • Creating multilingual views
  • Chapter 9: Configuration Management – Deploying in Drupal 8
    • Introduction
    • Importing and exporting configurations
    • Synchronizing site configurations
    • Using command-line workflow processes
    • Using the filesystem for configuration storage
  • Chapter 10: The Entity API
    • Introduction
    • Creating a configuration entity type
    • Creating a content entity type
    • Creating a bundle for a content entity type
    • Implementing custom access control for an entity
    • Providing a custom storage handler
    • Creating a route provider
  • Chapter 11: Off the Drupalicon Island
    • Introduction
    • Implementing and using a third-party JavaScript library
    • Implementing and using a third-party CSS library
    • Implementing and using a third-party PHP library
    • Using Composer manager
  • Chapter 12: Web Services
    • Introduction
    • Enabling RESTful interfaces
    • Using GET to retrieve data
    • Using POST to create data
    • Using PATCH to update data
    • Using Views to provide custom data sources
    • Authentication
  • Chapter 13: The Drupal CLI
    • Introduction
    • Rebuilding cache in Console or Drush
    • Using Drush to interact with the database
    • Using Drush to manage users
    • Scaffolding code through Console
    • Making a Drush command
    • Making a Console Command
  • Index