Create plugin type to support theme hooks

Created on 14 April 2023, over 1 year ago
Updated 2 May 2023, over 1 year ago

Problem/Motivation

Currently, support for theme hooks is defined in preprocess hooks in the .module file, which does not easily allow this module's functionality to be extended to other theme hooks.

Proposed resolution

A new plugin type should be created that will allow the add_attr Twig filter to be used with other theme hooks, without requiring the support to be provided by this module.

Remaining tasks

  1. Test
  2. Commit

User interface changes

None.

API changes

To support a new theme hook, a plugin implementation will need to be defined.

Data model changes

None.

✨ Feature request
Status

Needs work

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States rlhawk Seattle, Washington, United States

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024