How to display title of a webform in twig template Drupal 8 I want to display webform title in a webform.html.twig but I did not find anything in variables array regarding the title of the webform

function THEMENAME_preprocess_webform($variables){
  $title = "?";
}


How do I get webform title in a preprocess function ? Any suggestions or other approach ?
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}}