function GenerateTheme::__construct

File

core/lib/Drupal/Core/Command/GenerateTheme.php, line 38

Class

GenerateTheme
Generates a new theme based on latest default markup.

Namespace

Drupal\Core\Command

Code

public function __construct(string $name = NULL) {
  parent::__construct($name);
  $this->root = dirname(__DIR__, 5);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.