# 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
Comment #2
legaudinier commentedComment #3
tarekdj commentedSee: https://www.drupal.org/sandbox/yarontal/2345855. It just works great!
Comment #4
joshintosh commentedFor what it's worth, works great for me as well. https://www.drupal.org/sandbox/yarontal/2345855
Comment #5
lomasr commentedI tested it works great!
Comment #6
rajab natshahTested. It's working well
Comment #7
lomasr commentedComment #8
lomasr commentedComment #9
lomasr commentedI have tested on my local It works fine.Making it RTBC
Comment #10
lomasr commentedComment #11
lomasr commentedComment #12
berdirRTBC means that there is a release candidate. This is unfortunately still in the sandbox. So needs work is the correct status for it.
Comment #13
rajab natshahHaving 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
Comment #14
lomasr commentedComment #15
loopduplicate commentedComment #16
alex dyakonov commentedI tested locally. Works great.
Comment #17
naveenvalechaAn alpha version is out https://www.drupal.org/project/block_class/releases/8.x-1.0-alpha1
Marking this as Needs review
Comment #18
imkartik commentedComment #19
rootworkComment #20
bunthorne commentedthere is a 1.0 stable release, yes? Is this issue now ready to be closed?
Comment #21
mmjvb commentedYes, it is.
Comment #22
loopduplicate commentedFor anyone interested, here's where we list what the issue statuses mean for this project: https://www.drupal.org/project/contrib_tracker#statuses