You are here

public function BuildTrigger::getDeployment in Build Hooks 3.x

Gets current deployment.

Return value

\Drupal\build_hooks\Entity\DeploymentInterface Current deployment.

File

src/Event/BuildTrigger.php, line 166

Class

BuildTrigger
Defines a class for triggering a build.

Namespace

Drupal\build_hooks\Event

Code

public function getDeployment() : DeploymentInterface {
  return $this->deployment;
}