You are here

public function PatternContext::setProperty in UI Patterns 8

Set pattern context property.

Parameters

string $name: Property name.

mixed $value: Property value.

1 call to PatternContext::setProperty()
PatternContext::__construct in src/Element/PatternContext.php
PatternContext constructor.

File

src/Element/PatternContext.php, line 60

Class

PatternContext
Class PatternContext.

Namespace

Drupal\ui_patterns\Element

Code

public function setProperty($name, $value) {
  $this->properties[$name] = $value;
}