cloud-8.x-2.0-beta1/src/Entity/CloudContextInterface.php
src/Entity/CloudContextInterface.php
<?php
namespace Drupal\cloud\Entity;
/**
* Defines a common interface for cloud based entities to have cloud context.
*/
interface CloudContextInterface {
/**
* Gets the cloud_context from the entity.
*
* @return string
* Cloud context string.
*/
public function getCloudContext();
/**
* Sets the cloud_context.
*
* @param string $cloud_context
* Cloud context string.
*/
public function setCloudContext($cloud_context);
}
