KeywordInterface.php in Bibliography & Citation 8
Same filename and directory in other branches
Namespace
Drupal\bibcite_entity\EntityFile
modules/bibcite_entity/src/Entity/KeywordInterface.phpView source
<?php
namespace Drupal\bibcite_entity\Entity;
use Drupal\Core\Entity\ContentEntityInterface;
use Drupal\Core\Entity\EntityChangedInterface;
/**
* Provides an interface for defining Keyword entities.
*
* @ingroup bibcite_entity
*/
interface KeywordInterface extends ContentEntityInterface, EntityChangedInterface {
/**
* Gets the Keyword name.
*
* @return string
* Name of the Keyword.
*/
public function getName();
/**
* Sets the Keyword name.
*
* @param string $name
* The Keyword name.
*
* @return \Drupal\bibcite_entity\Entity\KeywordInterface
* The called Keyword entity.
*/
public function setName($name);
/**
* Gets the Keyword creation timestamp.
*
* @return int
* Creation timestamp of the Keyword.
*/
public function getCreatedTime();
/**
* Sets the Keyword creation timestamp.
*
* @param int $timestamp
* The Keyword creation timestamp.
*
* @return \Drupal\bibcite_entity\Entity\KeywordInterface
* The called Keyword entity.
*/
public function setCreatedTime($timestamp);
}
Interfaces
Name | Description |
---|---|
KeywordInterface | Provides an interface for defining Keyword entities. |