You are here

DeploymentInterface.php in Build Hooks 8.2

Same filename and directory in other branches
  1. 3.x src/Entity/DeploymentInterface.php

File

src/Entity/DeploymentInterface.php
View source
<?php

namespace Drupal\build_hooks\Entity;

use Drupal\Core\Entity\ContentEntityInterface;

/**
 * Defines an interface for a deployment entity.
 */
interface DeploymentInterface extends ContentEntityInterface {

  /**
   * Gets the deployment status.
   *
   * @return bool
   *   Deployment status.
   */
  public function isDeployed() : bool;

}

Interfaces

Namesort descending Description
DeploymentInterface Defines an interface for a deployment entity.