public function Deployment::isDeployed in Build Hooks 8.2
Same name and namespace in other branches
- 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\EntityCode
public function isDeployed() : bool {
return (bool) $this
->get('status')->value;
}