Commit 952f57a1 authored by webchick's avatar webchick

Issue #2125043 by Sutharsan: Remove '#type' => 'markup'.

parent c543ca71
......@@ -46,7 +46,6 @@ public function buildForm(array $form, array &$form_state, Request $request = NU
$instances = $this->entity->getInstances();
$form['message'] = array(
'#type' => 'markup',
'#markup' => format_plural(count($instances), 'This will also remove 1 placed block instance.', 'This will also remove @count placed block instances.'),
'#access' => !empty($instances),
);
......
......@@ -169,7 +169,6 @@ public function getBlockContents() {
}
else {
$output = array(
'#type' => 'markup',
'#markup' => t('You do not have any administrative items.'),
);
}
......
......@@ -21,7 +21,6 @@ class BatchTestController {
public function testRedirect() {
return array(
'success' => array(
'#type' => 'markup',
'#markup' => 'Redirection successful.',
)
);
......@@ -91,7 +90,6 @@ function testProgrammatic($value = 1) {
drupal_form_submit('batch_test_chained_form', $form_state);
return array(
'success' => array(
'#type' => 'markup',
'#markup' => 'Got out of a programmatic batched form.',
)
);
......
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