Overrides \Drupal\tour\Plugin\tour\tour\TipPluginInterface::getOutput().
Overrides TipPluginInterface::getOutput
public function getOutput() {
$image = array(
'#theme' => 'image',
'#uri' => $this
->get('url'),
'#alt' => $this
->get('alt'),
);
$output = '<h2 class="tour-tip-label" id="tour-tip-' . $this
->get('ariaId') . '-label">' . check_plain($this
->get('label')) . '</h2>';
$output .= '<p class="tour-tip-image" id="tour-tip-' . $this
->get('ariaId') . '-contents">' . drupal_render($image) . '</p>';
return array(
'#markup' => $output,
);
}