You are here

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_updates

Code

public function setProjectType($projectType) {
  $this->projectType = $projectType;
  return $this;
}