You are here

function template_preprocess_context_block_editable_block in Context 6.3

Same name and namespace in other branches
  1. 6 theme/context_reaction_block.theme.inc \template_preprocess_context_block_editable_block()

Preprocessor for theme('context_block_editable_block').

File

theme/context_reaction_block.theme.inc, line 116

Code

function template_preprocess_context_block_editable_block(&$vars) {
  $vars['empty'] = empty($vars['block']->content);
  if (isset($vars['block']->context)) {
    $vars['block']->content .= "<a id='context-block-{$vars['block']->module}-{$vars['block']->delta}' class='context-block editable edit-{$vars['block']->context}'></a>";
  }
}