public function UpdateMetadata::setProjectType in Automatic Updates 8
Set the project type.
Parameters
string $projectType: The project type.
Return value
\Drupal\automatic_updates\UpdateMetadata The update metadata.
File
- src/
UpdateMetadata.php, line 100
Class
- UpdateMetadata
- Transfer object to encapsulate the details for an update.
Namespace
Drupal\automatic_updatesCode
public function setProjectType($projectType) {
$this->projectType = $projectType;
return $this;
}