I include some form from API. And I want to include it in block, using Drupal\Core\Block\BlockBase
. My function return HTML tags, that has tag <form>
.
But function build()
return empty array.
$element = array(
'#markup' => $html
);
return $element;