You are here

public function CommandExecuteEvent::addTemplatePath in Update helper 2.x

Add a template path.

Parameters

string $template_path: The path for templates.

Return value

$this

File

src/Events/CommandExecuteEvent.php, line 87

Class

CommandExecuteEvent
Event for command execute.

Namespace

Drupal\update_helper\Events

Code

public function addTemplatePath($template_path) {
  $this->templatePaths[] = $template_path;
  return $this;
}