public function PatternDefinitionSetting::setType in UI Patterns Settings 8.2
Same name and namespace in other branches
- 8 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 318
Class
- PatternDefinitionSetting
- Pattern setting definition class.
Namespace
Drupal\ui_patterns_settings\DefinitionCode
public function setType($type) {
$this->definition['type'] = $type;
return $this;
}