You are here

public function PatternDefinitionSetting::setType in UI Patterns Settings 8

Same name and namespace in other branches
  1. 8.2 src/Definition/PatternDefinitionSetting.php \Drupal\ui_patterns_settings\Definition\PatternDefinitionSetting::setType()

Set Type property.

Parameters

string $type: Property value.

Return value

$this

File

src/Definition/PatternDefinitionSetting.php, line 220

Class

PatternDefinitionSetting
Class PatternDefinitionSetting.

Namespace

Drupal\ui_patterns_settings\Definition

Code

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