You are here

public function PatternDefinition::setBasePath in UI Patterns 8

Setter.

Parameters

mixed $basePath: Property value.

Return value

$this

File

src/Definition/PatternDefinition.php, line 139

Class

PatternDefinition
Class PatternDefinition.

Namespace

Drupal\ui_patterns\Definition

Code

public function setBasePath($basePath) {
  $this->definition['base path'] = $basePath;
  return $this;
}