You are here

13 calls to ContentEntityBase::id() in Drupal 8

Comment::permalink in core/modules/comment/src/Entity/Comment.php
Returns the permalink URL for this comment.
ContentEntityBase::hasTranslationChanges in core/lib/Drupal/Core/Entity/ContentEntityBase.php
Determines if the current translation of the entity has unsaved changes.
ContentEntityBase::isLatestRevision in core/lib/Drupal/Core/Entity/ContentEntityBase.php
Checks if this entity is the latest revision.
ContentEntityBase::isLatestTranslationAffectedRevision in core/lib/Drupal/Core/Entity/ContentEntityBase.php
Checks whether this is the latest revision affecting this translation.
Media::prepareSave in core/modules/media/src/Entity/Media.php
Sets the media entity's field values from the source's metadata.
MenuLinkContent::getPluginDefinition in core/modules/menu_link_content/src/Entity/MenuLinkContent.php
Builds up the menu link plugin definition for this entity.
Node::postSave in core/modules/node/src/Entity/Node.php
Acts on a saved entity before the insert or update hook is invoked.
User::hasPermission in core/modules/user/src/Entity/User.php
Checks whether a user has a certain permission.
User::isAnonymous in core/modules/user/src/Entity/User.php
Returns TRUE if the account is anonymous.
User::isAuthenticated in core/modules/user/src/Entity/User.php
Returns TRUE if the account is authenticated.
User::isNew in core/modules/user/src/Entity/User.php
Determines whether the entity is new.
User::postSave in core/modules/user/src/Entity/User.php
Acts on a saved entity before the insert or update hook is invoked.
User::preSave in core/modules/user/src/Entity/User.php
Acts on an entity before the presave hook is invoked.