BlockContent::getRevisionCreationTime

public BlockContent::getRevisionCreationTime()

Gets the entity revision creation timestamp.

Return value

int The UNIX timestamp of when this revision was created.

Overrides RevisionLogInterface::getRevisionCreationTime

File

core/modules/block_content/src/Entity/BlockContent.php, line 239

Class

BlockContent
Defines the custom block entity class.

Namespace

Drupal\block_content\Entity

Code

1
2
3
public function getRevisionCreationTime() {
  return $this->get('revision_created')->value;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.