# Summary

Block Class allows users to add classes to any block through the block's configuration interface. By adding a very short snippet of PHP to a theme's block.html.twig file, classes can be added to the parent element of a block. Hooray for more powerful block theming!

There is currently a development release. See https://www.drupal.org/project/block_class .

# Project URL

https://www.drupal.org/project/block_class

# Where is the code?

https://www.drupal.org/project/block_class

# Estimated completion date

Unknown

# Dependencies

block

# Who's doing the port?

pferlito

# What help do they need?

Unknown

# D8 roadmap

Unknown

# Background and reference information

https://www.drupal.org/project/issues/search/block_class?project_issue_f...
#2198023: Port Block Class to Drupal 8

Comments

legaudinier created an issue. See original summary.

legaudinier’s picture

Issue summary: View changes
tarekdj’s picture

joshintosh’s picture

For what it's worth, works great for me as well. https://www.drupal.org/sandbox/yarontal/2345855

lomasr’s picture

I tested it works great!

rajab natshah’s picture

Tested. It's working well

lomasr’s picture

Assigned: Unassigned » lomasr
Status: Needs work » Needs review
lomasr’s picture

lomasr’s picture

I have tested on my local It works fine.Making it RTBC

lomasr’s picture

Issue tags: +drupalconasia2016
lomasr’s picture

Status: Needs review » Reviewed & tested by the community
berdir’s picture

Status: Reviewed & tested by the community » Needs work

RTBC means that there is a release candidate. This is unfortunately still in the sandbox. So needs work is the correct status for it.

rajab natshah’s picture

Having the block class module work for Page Manager will add a very big advantage of use for all Drupal 8 site builders.
https://www.drupal.org/node/2509142

lomasr’s picture

Assigned: lomasr » Unassigned
loopduplicate’s picture

Issue summary: View changes
alex dyakonov’s picture

I tested locally. Works great.

naveenvalecha’s picture

Status: Needs work » Needs review

An alpha version is out https://www.drupal.org/project/block_class/releases/8.x-1.0-alpha1
Marking this as Needs review

imkartik’s picture

Issue summary: View changes
rootwork’s picture

Issue summary: View changes
bunthorne’s picture

there is a 1.0 stable release, yes? Is this issue now ready to be closed?

mmjvb’s picture

Status: Needs review » Fixed

Yes, it is.

loopduplicate’s picture

For anyone interested, here's where we list what the issue statuses mean for this project: https://www.drupal.org/project/contrib_tracker#statuses

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.