Drupal put more values in #markup $form type Is it possible to add more values into the #markup of a drupal form?

At the moment it is a link but I also want to add an image. When I add another #markup it only takes the last one, and when I add $image to the other #markup it doesn't work.

My code:

$image_options = array(
    'path' =&gt; 'img_url',
    'alt' =&gt; 'App logo',
    'title' =&gt; 'App logo',
    'width' =&gt; '56px',
    'height' =&gt; '56px',
    'attributes' =&gt; array('class' =&gt; 'some-img', 'id' =&gt; 'my-img'),
);

$image = theme('image', $image_options);

$form["link$key"] = array(
  '#type' =&gt; 'item',
  '#description' =&gt; t('Registered token(s): @total_tokens &lt;br&gt; Total sent push notifications: @push_notifications', array('@appname' =&gt; $record-&gt;app_name, '@total_tokens' =&gt; $total_tokens, '@push_notifications' =&gt; $sentMessages)),
  // '#href' =&gt; "admin/config/services/push_notifications/stats/". $record-&gt;app_id,
  '#markup' =&gt; l($record-&gt;app_name, 'admin/config/services/push_notifications/stats/' . $record-&gt;app_id),
);


So I want to be able to add $image to the current #markup..
The #markup property simply provides a string output. 

Why dont you just concatenate your output into a variable.

$output = $image;
$output .= $link;


Then...

'#markup' =&gt; $output


Checkout the coding standards for Drupal around concatenation.
https://www.drupal.org/coding-standards#concat