RadioactivityInterface.php in Radioactivity 4.0.x
Namespace
Drupal\radioactivityFile
src/RadioactivityInterface.phpView source
<?php
namespace Drupal\radioactivity;
use Drupal\Core\Entity\ContentEntityInterface;
/**
* Provides an interface defining a radioactivity entity type.
*/
interface RadioactivityInterface extends ContentEntityInterface {
/**
* Returns the language code.
*
* @return string
* The language code.
*/
public function getLangcode();
/**
* Sets the language code.
*
* @param string $langcode
* The language code.
*/
public function setLangcode($langcode);
/**
* Returns the timestamp value.
*
* @return int
* The timestamp value.
*/
public function getTimestamp();
/**
* Sets the timestamp value.
*
* @param int $timestamp
* The timestamp value.
*/
public function setTimestamp($timestamp);
/**
* Returns the energy value.
*
* @return float
* The energy value.
*/
public function getEnergy();
/**
* Sets the energy value.
*
* @param float $value
* The energy value.
*/
public function setEnergy($value);
}
Interfaces
Name | Description |
---|---|
RadioactivityInterface | Provides an interface defining a radioactivity entity type. |