Update Block Class module from ~1.0 to ~2.0

Created on 23 October 2022, over 1 year ago
Updated 9 March 2023, over 1 year ago

Problem/Motivation

Block Class 2.0.7 was released on: 29 Sep 2022 by: RenatoG
https://www.drupal.org/project/block_class/releases/2.0.7

Thank you, Renato

Block Class allows users to add classes to any block through the block's configuration interface. Hooray for more powerful block theming!

Usage

To add a class to a block, simply visit that block's configuration page at Administration » Structure » Block Layout and click on Configure of the desired block.The max-length by default is 255, after the 2.0.x version there is a Global Settings Page and you can modify if you need at: Configuration » Content authoring » Block Class You can also add attributes in the multiple attributes field available in the block list as well. You can set the key and the value of the attributes that you want.Remember that you can't use id attribute because is the Drupal's default, and you can't use attribute class because there is a specific field to use in class.

Proposed resolution

Agreed with Razem on the spot

  • Change Block Class to ~2.0 in the composer.json file
  • Manage a smooth ✅ Forced Update
  • Change needed documentation
  • Change needed automated testing

Remaining tasks

  • ✅ File an issue about this project
  • ✅ Addition/Change/Update/Fix to this project
  • ✅ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support on feature change/addition
  • ➖ User Guide Documentation support on feature change/addition
  • ➖ Accessibility and Readability
  • ✅ Code review from 1 Varbase core team member
  • ✅ Full testing and approval
  • ✅ Credit contributors
  • ✅ Review with the product owner
  • ✅ Update Release Notes and Update Helper on new feature change/addition
  • ✅ Release varbase-9.0.12 , varbase_core-9.0.47

Varbase update type

  • ➖ No Update
  • ➖ Optional Update
  • ✅ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • Issue #3317082 : Updated Block Class module from ~1.0 to ~2.0
📌 Task
Status

Fixed

Version

9.0

Component

Code

Created by

🇯🇴Jordan Rajab Natshah Jordan

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024