private function getSelectedThemeMarkup($theme) {
    $form['name_markup'] = [
      '#type' => 'markup',
      '#markup' => $theme['name'],
      '#prefix' => '<h3>',
      '#suffix' => '</h3>',
    ];
    $form['desc_markup'] = [
      '#type' => 'markup',
      '#markup' => $theme['description'],
      '#prefix' => '<div class="desc_markup">',
      '#suffix' => '</div>',
    ];
    $form['screenshot_markup'] = [
      '#prefix' => '<div> <img src="' . base_path() . $theme['screenshot']['uri'] . '" width="294">',
      '#suffix' => '</div>',
    ];
    return $form;
  }
private function getSelectedThemeMarkup($theme) {
    $form['name_markup'] = [
      '#type' => 'markup',
      '#markup' => $theme['name'],
      '#prefix' => '<h3>',
      '#suffix' => '</h3>',
    ];
    $form['desc_markup'] = [
      '#type' => 'markup',
      '#markup' => $theme['description'],
      '#prefix' => '<div class="desc_markup">',
      '#suffix' => '</div>',
    ];
    $form['screenshot_markup'] = [
      '#prefix' => '<div> <img src="' . base_path() . $theme['screenshot']['uri'] . '" width="294">',
      '#suffix' => '</div>',
    ];
    return $form;
  }
private function getSelectedThemeMarkup ( $ theme ) { $ form [ 'name_markup' ] = [ '#type' => 'markup' , '#markup' => $ theme [ 'name' ] , '#prefix' => '<h3>' , '#suffix' => '</h3>' , ] ; $ form [ 'desc_markup' ] = [ '#type' => 'markup' , '#markup' => $ theme [ 'description' ] , '#prefix' => '<div class="desc_markup">' , '#suffix' => '</div>' , ] ; $ form [ 'screenshot_markup' ] = [ '#prefix' => '<div> <img src="' . base_path ( ) . $ theme [ 'screenshot' ] [ 'uri' ] . '" width="294">' , '#suffix' => '</div>' , ] ; return $ form ; }
Builds markup for individual theme info.

@param $theme

@return array
@throws \Drupal\Core\Extension\MissingDependencyException
Builds markup for individual theme info .