Using attributes in templates

Documentation of attributes object that appears in all html.twig templates.

Using bounds_changed on a map

Here is an example demonstrating the use of 'bounds_changed' in javascript.
It assumes your map id is 'key_1', that you have a page identifier class 'view-display-id-page'
and that 'show maplinks' is enabled in the view. Any markers that fall outside the viewport will be hidden in the list of links.
Edit 'mytheme_script' to whatever suits your needs.

Installation

Quickstart

 

To get Wysiwyg Fields up and running as quick as possible follow these steps.

Note: This assumes a relatively standard Drupal installation and configures only the Article Image field for use as a Wysiwyg field.

Display Modes, View Modes, and Form Modes

Display modes

Display modes (found at admin/structure/display-modes) exist to provide different presentations of Content Entities for either editing or viewing. The two types of display modes are "view modes" and "form modes." Both of these display mode types, view modes and form modes are examples of "configuration entities." Here is an example of an exported view mode.

Supported field types/widgets list

While in theory Wysiwyg Fields supports all field types, some may work better than others and some may be impractical when used as inline fields.

Below is a list of some core and contributed module field types/widgets along with their status and any notes.

 

Pages

Subscribe with RSS Subscribe to RSS - Advanced