Commit f288b144 authored by khu's avatar khu Committed by fmitchell

Issue #2206169 by kchh90: Workflow page content overridden if other blocks are...

Issue #2206169 by kchh90: Workflow page content overridden if other blocks are present in the content region.
parent 62192183
......@@ -2,6 +2,7 @@
--------------
#2220535 by fmitchell: Apachesolr is not updated when events are fired.
#2219597 by muschpusch: Event links in views show state key instead of label.
#2206169 by kchh90: Workflow page content overridden if other blocks are present in the content region.
7.x-2.4
--------------
......
......@@ -122,29 +122,25 @@ function state_flow_events($node) {
// Build the render array
$output = array(
'#theme' => 'page',
'#type' => 'page',
'content' => array(
'current_revision' => array(
'#type' => 'fieldset',
'#title' => t('Current Revision'),
'current_revision_status' => array(
'#type' => 'item',
'#title' => t('Status'),
'#markup' => check_plain($state_flow->get_current_state()),
),
'current_revision_vid' => array(
'#type' => 'item',
'#title' => t('Revision ID'),
'#markup' => l(check_plain($node->vid), 'node/' . $node->nid),
),
'current_revision' => array(
'#type' => 'fieldset',
'#title' => t('Current Revision'),
'current_revision_status' => array(
'#type' => 'item',
'#title' => t('Status'),
'#markup' => check_plain($state_flow->get_current_state()),
),
'#sorted' => TRUE,
'#attached' => array(
'js' => array(
'misc/form.js',
'misc/collapse.js',
),
'current_revision_vid' => array(
'#type' => 'item',
'#title' => t('Revision ID'),
'#markup' => l(check_plain($node->vid), 'node/' . $node->nid),
),
),
'#sorted' => TRUE,
'#attached' => array(
'js' => array(
'misc/form.js',
'misc/collapse.js',
),
),
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment