Tripal
|
Public Member Functions | |
getType () | |
getCreatedTime () | |
setCreatedTime ($timestamp) | |
isPublished () | |
setPublished ($published) | |
Provides an interface for defining Tripal Content entities.
Drupal\tripal\Entity\TripalEntityInterface::getCreatedTime | ( | ) |
Gets the Tripal Content creation timestamp.
Implemented in Drupal\tripal\Entity\TripalEntity.
Drupal\tripal\Entity\TripalEntityInterface::getType | ( | ) |
Gets the Tripal Content type.
Implemented in Drupal\tripal\Entity\TripalEntity.
Drupal\tripal\Entity\TripalEntityInterface::isPublished | ( | ) |
Returns the Tripal Content published status indicator.
Unpublished Tripal Content are only visible to restricted users.
Implemented in Drupal\tripal\Entity\TripalEntity.
Drupal\tripal\Entity\TripalEntityInterface::setCreatedTime | ( | $timestamp | ) |
Sets the Tripal Content creation timestamp.
int | $timestamp | The Tripal Content creation timestamp. |
Implemented in Drupal\tripal\Entity\TripalEntity.
Drupal\tripal\Entity\TripalEntityInterface::setPublished | ( | $published | ) |
Sets the published status of a Tripal Content.
bool | $published | TRUE to set this Tripal Content to published, FALSE to set it to unpublished. |
Implemented in Drupal\tripal\Entity\TripalEntity.