You are here

public function Deployment::isDeployed in Build Hooks 8.2

Same name and namespace in other branches
  1. 3.x src/Entity/Deployment.php \Drupal\build_hooks\Entity\Deployment::isDeployed()

Gets the deployment status.

Return value

bool Deployment status.

Overrides DeploymentInterface::isDeployed

File

src/Entity/Deployment.php, line 154

Class

Deployment
Defines an entity to track a deployment.

Namespace

Drupal\build_hooks\Entity

Code

public function isDeployed() : bool {
  return (bool) $this
    ->get('status')->value;
}