block['content'] contail both string and form I created a form and used a block to show it. I would like to add a message before the form. Before I added "You can use the form below," the form was working fine. Right now, it doesn't work.

The code is the following one.

$block['content'] = '&lt;strong&gt;You can use the form below&lt;/strong&gt;';
$block['content'] .= '&lt;strong&gt;Enter your email&lt;/strong&gt;';
$block['content'] .= drupal_get_form('custom_request_price_form');


It just shows "Array" where it should show a form. Why does this happen?
drupal_get_form returns an array, so you can't concatenate it with a string.

Something like this will work, using a render array:

$block['content'] = [
  'preamble' =&gt; [
    '#markup' =&gt; '&lt;strong&gt;...&lt;/strong&gt;',
  ],
  'form' =&gt; drupal_get_form('custom_request_price_form'),
];