Use <picture> for art direction use case

As pointed out by Jason Grigsby in his insightful blog post titled Don’t use <picture> (most of the time), the two most common use cases for responsive images are:

Entity Formatter

For a general introduction to the Entity Formatter module view its module page.

API Documentation

The full API Documentation can be found here: http://entity_formatter.valderama.net

Drupal 8 Configuration Management

Sub-title: 
Make the most out of Drupal 8’s coolest new feature – the Configuration Management system
Publisher: 
Packt Publishing
Publication date: 
2015-03
Page count: 
148
ISBN-13: 
9781783985203

With all the complex configuration options of Drupal, the Configuration Management system allows you to keep track of your configuration and move configuration changes between several development environments with ease. Its API allows you to add your own configuration settings within a custom module.

Drupal 8 Configuration Management will teach you everything you need to know about the Configuration Management system and get you started with using its features quickly, whether you are a Drupal site administrator with no programming knowledge or a seasoned developer. Starting at defining what Configuration Management actually means and why you should be using it, the book also covers how site administrators can make the most out of it without any programming knowledge. For more advanced users with programming skills, the book explains how to use the API to add custom configuration and how to upgrade custom modules to use the new Configuration Management. The book also covers some essential tools and best practices.

After reading the book, you will be able to write schema files for custom configurations, make use of the Configuration Management API, and upgrade modules to the new Configuration Management systems. Additionally, you will learn how to migrate configuration from Drupal 6 and 7 to Drupal 8 and how to manage configuration for multilingual websites.

Theming in Paragraphs for Drupal 8

Theming

The default paragraphs template is in paragraphs-item.html.twig.
It uses theme suggestions for other templates, the following suggestions are available:

  • paragraph__[view_mode] (e.g. paragraph--default.html.twig)
  • paragraph__[type] (e.g. paragraph--image.html.twig)
  • paragraph__[type]__[view_mode] (e.g. paragraph--image--default.html.twig)

Paragraphs in Drupal 7

Paragraphs in Drupal 7

Todo

  • Changing bundle type on existing paragraph item
  • Default item on new entity
  • Better UX for new paragraph option list
  • Demo module for Simplytest.me
  • Proper revision support
  • Bundle permissions
  • Sortable bundle list
  • Select a view mode per paragraph item
  • Views support
  • Confirm delete without saving the entity/node
  • Being able to select a limit of items, not only Unlimited

Paragraphs in Drupal 8

Drupal 8

A Drupal 8 version has been created, the alpha2 version is working with Drupal 8 beta 4. We try to keep the 8.x-1.x-dev branch compatible with the Drupal 8 HEAD. It currently has the same functionality as the Drupal 7 module.

The Drupal 8 version has been a complete rewrite of the module. It is now based on the Entity Reference Revisions module which is in core. Paragraphs defines:

Pages

Subscribe with RSS Subscribe to RSS - Designers/themers