comparison core/lib/Drupal/Core/Entity/RevisionableInterface.php @ 4:a9cd425dd02b

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:11:55 +0000
parents c75dbcec494b
children 12f9dff5fda9
comparison
equal deleted inserted replaced
3:307d7a7fd348 4:a9cd425dd02b
53 * have a revision identifier. 53 * have a revision identifier.
54 */ 54 */
55 public function getRevisionId(); 55 public function getRevisionId();
56 56
57 /** 57 /**
58 * Gets the loaded Revision ID of the entity.
59 *
60 * @return int
61 * The loaded Revision identifier of the entity, or NULL if the entity
62 * does not have a revision identifier.
63 */
64 public function getLoadedRevisionId();
65
66 /**
67 * Updates the loaded Revision ID with the revision ID.
68 *
69 * This method should not be used, it could unintentionally cause the original
70 * revision ID property value to be lost.
71 *
72 * @internal
73 *
74 * @return $this
75 */
76 public function updateLoadedRevisionId();
77
78 /**
58 * Checks if this entity is the default revision. 79 * Checks if this entity is the default revision.
59 * 80 *
60 * @param bool $new_value 81 * @param bool $new_value
61 * (optional) A Boolean to (re)set the isDefaultRevision flag. 82 * (optional) A Boolean to (re)set the isDefaultRevision flag.
62 * 83 *