You are here

function block_class in Block Class 5

Same name and namespace in other branches
  1. 6.2 block_class.module \block_class()
  2. 6 block_class.module \block_class()
  3. 7 block_class.module \block_class()

File

./block_class.module, line 18

Code

function block_class($block) {
  $attributes = block_class_attributes($block);
  return check_plain($attributes->css_class);
}