Remove claro_preprocess_filter_guidelines

Created on 12 July 2023, 11 months ago

Problem/Motivation

In 📌 [META] Fix @todo items referencing closed issues Active we discovered that there's a @todo in claro_preprocess_filter_guidelines which references a d.o. issue that is already closed: #2881212: Formatting guidelines toggle script relies on Classy selectors →

Here's the @todo:

function claro_preprocess_filter_guidelines(&$variables) {
  // Fix filter guidelines selector issue of 'filter/drupal.filter'.
  // @todo Remove when https://www.drupal.org/node/2881212 is fixed.
  $variables['attributes']['class'][] = 'filter-guidelines-item';
  $variables['attributes']['class'][] = 'filter-guidelines-' . $variables['format']->id();
}

Steps to reproduce

Proposed resolution

In #2881212: Formatting guidelines toggle script relies on Classy selectors → we removed the CSS styling for filter-guidelines-*-classes.
Setting those classes in claro_preprocess_filter_guidelines is not having any effect in core anymore, so let's remove claro_preprocess_filter_guidelines completely.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Fixed

Version

11.0 🔥

Component
Claro  →

Last updated 1 day ago

Created by

🇳🇱Netherlands Spokje

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

Comments & Activities

Production build 0.69.0 2024