You are here

public function PatternDefinition::setTemplate in UI Patterns 8

Setter.

Parameters

mixed $template: Property value.

Return value

$this

1 call to PatternDefinition::setTemplate()
PatternDefinition::__construct in src/Definition/PatternDefinition.php
PatternDefinition constructor.

File

src/Definition/PatternDefinition.php, line 492

Class

PatternDefinition
Class PatternDefinition.

Namespace

Drupal\ui_patterns\Definition

Code

public function setTemplate($template) {
  $this->definition['template'] = $template;
  return $this;
}