W3cubDocs

/Drupal 8

trait RevisionLogEntityTrait

Provides a trait for accessing revision logging and ownership information.

Hierarchy

Related topics

Entity API
Describes how to define and manipulate content and configuration entities.

File

core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php, line 13

Namespace

Drupal\Core\Entity

Members

Name Modifiers Type Description
RevisionLogEntityTrait::getRevisionCreationTime public function Implements \Drupal\Core\Entity\RevisionLogInterface::getRevisionCreationTime(). Overrides RevisionLogInterface::getRevisionCreationTime
RevisionLogEntityTrait::getRevisionLogMessage public function Implements \Drupal\Core\Entity\RevisionLogInterface::getRevisionLogMessage(). Overrides RevisionLogInterface::getRevisionLogMessage
RevisionLogEntityTrait::getRevisionUser public function Implements \Drupal\Core\Entity\RevisionLogInterface::getRevisionUser(). Overrides RevisionLogInterface::getRevisionUser
RevisionLogEntityTrait::getRevisionUserId public function Implements \Drupal\Core\Entity\RevisionLogInterface::getRevisionUserId(). Overrides RevisionLogInterface::getRevisionUserId
RevisionLogEntityTrait::revisionLogBaseFieldDefinitions public static function Provides revision-related base field definitions for an entity type.
RevisionLogEntityTrait::setRevisionCreationTime public function Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionCreationTime(). Overrides RevisionLogInterface::setRevisionCreationTime
RevisionLogEntityTrait::setRevisionLogMessage public function Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionLogMessage(). Overrides RevisionLogInterface::setRevisionLogMessage
RevisionLogEntityTrait::setRevisionUser public function Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionUser(). Overrides RevisionLogInterface::setRevisionUser
RevisionLogEntityTrait::setRevisionUserId public function Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionUserId(). Overrides RevisionLogInterface::setRevisionUserId

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!RevisionLogEntityTrait.php/trait/RevisionLogEntityTrait/8.1.x