You are here

DeploymentInterface.php in Build Hooks 3.x

Same filename and directory in other branches
  1. 8.2 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.