3 options
Drupal 8 development cookbook : harness the power of Drupal 8 with this recipe-based practical guide / Matt Glaman.
- Format:
- Book
- Author/Creator:
- Glaman, Matt, author.
- Language:
- English
- Subjects (All):
- Drupal (Computer file).
- Web site development.
- Open source software.
- Web sites--Management.
- Web sites.
- Physical Description:
- 1 online resource (1 volume) : illustrations
- Edition:
- Second edition.
- Other Title:
- Drupal eight development cookbook
- Place of Publication:
- Birmingham, England : Packt, 2017.
- System Details:
- text file
- Biography/History:
- Glaman Matt: Matt Glaman is an open source developer who has been working with Drupal since 2013. Since then, he has contributed to Drupal core and over 60 community projects. He is also a speaker at multiple Drupal community events, including DrupalCon. Matt is currently a principal software engineer at Acquia and was previously a product lead at Centarro, helping maintain Drupal Commerce.
- Summary:
- Over 60 hands-on recipes that get you acquainted with Drupal 8's features and help you harness its power About This Book Discover the enhanced content authoring experience that comes with Drupal 8 and how to customize it Take advantage of the broadened multilingual and tools of the new version to provide an internationalized website This step-by-step guide will show you how to deploy from development, staging, and production of a website with Drupal 8's brand new configuration management system Who This Book Is For The audience of the Drupal 8 Cookbook have been using Drupal and are ready to get a grasp of what to expect in Drupal 8. They have worked with Drupal as site builders, back-end developers, and front-end developers and are eager to see what awaits when they start using Drupal 8. This book will be a resource that allows them to get started and have a reference to building new applications with Drupal. What You Will Learn Extend Drupal through contributed or custom modules and themes Develop an internationalized website with Drupal's multilingual tools Integrate third-party front-end and back-end libraries with Drupal Turn Drupal into a web services provider using REST Create a mobile-first responsive Drupal application Run SimpleTest and PHPUnit to test Drupal Understand the plugin system that powers many of Drupal 8's new APIs to extend its functionality Get to grips with the mechanics of the configuration management system and the ability to import and export site configuration In Detail 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 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 how 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-part...
- Contents:
- Cover
- Copyright
- Credits
- About the Author
- About the Reviewer
- www.PacktPub.com
- Customer Feedback
- Table of Contents
- Preface
- Chapter 1: Up and Running with Drupal 8
- Introduction
- Installing Drupal
- Getting ready
- How to do it...
- How it works...
- There's more...
- Creating a database user and a database
- Database prefixes
- Downloading and installing with Drush
- Using Composer to create a Drupal site
- Security updates
- See also
- Using a distribution with Drupal
- Makefiles
- Installing with Drush
- Using Composer
- See also...
- Installing modules and themes
- Discovering modules and themes
- Module installation
- Theme installation
- Installing a module or theme using Composer
- Installing a module with Drush
- Uninstalling a module
- Using multisites in Drupal 8
- Security concerns
- Domain aliases
- Tools for setting up an environment
- Acquia Dev Desktop
- XAMPP + Bitnami
- Kalabox
- Running tests - Simpletest and PHPUnit
- Is run-tests a shell script?
- Running tests without Drupal installed
- Running specific tests
- PhpStorm - Drupal Test Runner
- DrupalCI
- Chapter 2: The Content Authoring Experience
- Configuring the WYSIWYG editor
- Filter module
- Improved links
- CKEditor plugins
- Adding and editing content
- How to do it.
- How it works...
- Save as draft
- Pathauto
- Bulk moderation
- Creating a menu and linking content
- Managing a contents menu link from its form
- Providing inline editing
- The outside-in approach
- Creating a custom content type
- Applying new Drupal 8 core field types
- Link
- The Email field
- The Telephone field
- The Date field
- The Entity Reference field
- Upcoming updates
- Views and Entity Reference
- Customizing the form display of a node
- Managing form display modes
- Programmatically providing a default to hidden form items
- Customizing the display output of a node
- Chapter 3: Displaying Content through Views
- Listing content
- Views in Drupal core initiative
- Views and displays
- Format style plugins - style and row
- Using the Embed display
- Editing the default admin interfaces
- Exposed versus non-exposed
- Filter identifiers
- Overriding routes with Views
- Creating a block from a View
- Exposed forms as blocks
- Utilizing dynamic arguments
- Previewing with contextual filters
- Displaying as a tab on the user page
- Altering the page title
- Validation
- Multiple and exclusion.
- Adding a relationship in a View
- Relationships provided by entity reference fields
- Relationships provided through custom code
- Using aggregation and views.
- Providing an Entity Reference result View
- Chapter 4: Extending Drupal
- Creating a module
- Module namespaces
- Module discovery locations
- Defining a package group
- Module dependencies
- Specifying the module's version
- Defining a custom page
- Parameters in routes
- Validating parameters in routes
- Route requirements
- Providing dynamic routes
- Altering existing routes
- Defining permissions
- Restrict access flag for permissions
- Defining permissions programmatically
- Checking whether a user has permissions
- Providing the configuration on the installation or update
- Configuration subdirectories
- Modifying the existing configuration on installation
- Creating an event subscriber
- Using dependency injection
- Using Features 3.0
- Suggested feature modules
- Features bundles
- Managing the configuration state of Features
- Chapter 5: Frontend for the Win
- Creating a custom theme based on Classy
- Theme screenshots
- Themes, logos, and favicons
- Base themes and shared resources
- CKEditor style sheets.
- See also
- Using the new asset management system
- CSS groups
- Library asset options
- Library dependencies
- Overriding and extending other libraries
- Using a CDN or external resource as a library
- Manipulating libraries from hooks
- Placing JavaScript in the header
- Twig templating
- Security first
- Theme hook suggestions
- Debugging template file selection and hook suggestions
- The Twig logic and operators
- Using the Breakpoint module
- Caveat for providing breakpoints from themes
- Accessing breakpoints programmatically
- Multipliers
- Using the Responsive Image module
- Performance first delivery
- Removing picturefill polyfill
- Chapter 6: Creating Forms with the Form API
- Creating a form
- Form element definitions
- The form state
- The form cache
- Using new HTML5 elements
- Specific element properties
- Creating new elements
- Validating form data
- Multiple validation handlers
- Accessing multidimensional array values
- Element validation methods
- Processing submitted form data
- Multiple submit handlers
- Altering other forms
- There's more.
- Adding additional validate handlers
- Adding additional submit handlers
- Chapter 7: Plug and Play with Plugins
- Creating blocks using plugins
- Altering blocks
- Block settings forms
- Defining access to a block
- Creating a custom field type
- Altering field types
- Defining whether a field is empty
- Creating a custom field widget
- Field widget settings and summary
- Creating a custom field formatter
- Formatter settings and summary
- Creating a custom plugin type
- Specifying an alter hook
- Using a cache backend
- Accessing plugins through the manager
- Chapter 8: Multilingual and Internationalization
- Translating administrative interfaces
- Manually installing language files
- Checking translation status
- Exporting translations
- Interface translation permissions
- Using interface translation to customize default English strings
- Interface text language detection
- Providing translations for a custom module
- Translating configuration
- Altering configuration translation info definitions
- Translating views
- Translating content
- How it works
- Flagging translations as outdated
- Translating content links.
- Defining translation handlers for entities.
- Notes:
- Includes index.
- Includes bibliographical references.
- Description based on online resource; title from PDF title page (ebrary, viewed October 6, 2017).
- OCLC:
- 1007536526
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.