You are here

function space_customizer_block::customize_subject in Spaces 6.2

Same name and namespace in other branches
  1. 6 spaces.module \space_customizer_block::customize_subject()

Additional method: customize_subject() for customizing a block subject.

1 call to space_customizer_block::customize_subject()
spaces_preprocess_block in ./spaces.module
theme_block() preprocessor.

File

./spaces.spaces.inc, line 317

Class

space_customizer_block
Customizer for feature blocks.

Code

function customize_subject($space, &$block) {
  $bid = "{$block->module}-{$block->delta}";
  if (!empty($space->customizer['block']['subject'][$bid])) {
    $block->subject = $space->customizer['block']['subject'][$bid];
  }
}