Block Type Templates

Component type

module

Maintenance status

Development status

Downloads

5513

Component created

Component changed

Drupal 8 core does not provide support for block type templates.

This is a very simple way to provide modular design components, affording consistent patterns driven through Drupal's block system. This can be used with the standard block placement, Panels, or any other system that leverages blocks. Advanced supported cases include the use of the Components module, which can afford more granular, reusable templates included within other templates.

This module does by providing the following naming convention:

Theme Shapes API

Component type

module

Maintenance status

Development status

Component created

Component changed

Theme Shapes API provides theme functions that help with the creation of different shapes for use in your theme. This creates div containers and classes based on inputs to generate different CSS shapes. These can be used for things like buttons, badges, backgrounds, and interface elements.

ELMSLN uses this to generate badges and in the future other course navigation visuals.

Twig Link Attributes

Component type

module

Maintenance status

Development status

Downloads

311

Component created

Component changed

Simple twig filter to add attributes to link() item.url's in templates.

Has the advantage of merging attributes so modules like Menu Link Attributes do not have their attributes blown away in the template.

For example, current documentation encourages themers to do this:

{{ link(item.title, item.url, { 'class':['menu__link']}) }}

Bootstrap Paragraphs

Component type

module

Maintenance status

Development status

Downloads

14819

Component created

Component changed

The Bootstrap Paragraphs module provides a suite of content and layout Paragraph bundles made with the Bootstrap front-end framework.

Combine the power of the world's most popular front end framework, Bootstrap with Drupal Paragraphs, the powerful module to allow content creators to build layouts and structured pages.

Classify

Component type

module

Maintenance status

Development status

Component created

Component changed

Classify will provide the ability to add classes (and other attributes) on any entity type.

Allow a user configurable field to allow adding custom classes/attributes to an entity.
Allow a predefined set of classes/attributes to be provided by a module/theme, allowing a user to select a class/attribute that already has 'functionality' attached to it.
Each type of attribute (class, id, title, data-x, etc.) should be setup via a Plugin.