How to display title of a webform in twig template Drupal 8
Here is what I came up with 

function THEMENAME_preprocess_webform(&amp;$vars){
  $wfid = $vars["element"]["#webform_id"];
  $wf = \Drupal\webform\Entity\Webform::load($wfid);
  $vars["title"] = $wf-&gt;label();
}


Then in your theme's webform.html.twig you can use {{title}}