You are here

public function PatternDefinition::setThemeHook in UI Patterns 8

Setter.

Parameters

string $theme_hook: Property value.

Return value

$this

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

File

src/Definition/PatternDefinition.php, line 380

Class

PatternDefinition
Class PatternDefinition.

Namespace

Drupal\ui_patterns\Definition

Code

public function setThemeHook($theme_hook) {
  $this->definition['theme hook'] = $theme_hook;
  return $this;
}