public function PatternDefinitionField::setType in UI Patterns 8
Set Type property.
Parameters
string $type: Property value.
Return value
$this
File
- src/
Definition/ PatternDefinitionField.php, line 114
Class
- PatternDefinitionField
- Class PatternDefinitionField.
Namespace
Drupal\ui_patterns\DefinitionCode
public function setType($type) {
$this->definition['type'] = $type;
return $this;
}