You are here

public function PatternDefinition::setLabel in UI Patterns 8

Setter.

Parameters

mixed $label: Property value.

Return value

$this

File

src/Definition/PatternDefinition.php, line 116

Class

PatternDefinition
Class PatternDefinition.

Namespace

Drupal\ui_patterns\Definition

Code

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