You are here

61 calls to ContentEntityBase::set() in Drupal 8

BlockContent::setInfo in core/modules/block_content/src/Entity/BlockContent.php
Sets the block description.
BlockContent::setNonReusable in core/modules/block_content/src/Entity/BlockContent.php
Sets the block to be non-reusable.
BlockContent::setReusable in core/modules/block_content/src/Entity/BlockContent.php
Sets the block to be reusable.
BlockContent::setRevisionCreationTime in core/modules/block_content/src/Entity/BlockContent.php
Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionCreationTime().
BlockContent::setRevisionLogMessage in core/modules/block_content/src/Entity/BlockContent.php
Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionLogMessage().
BlockContent::setRevisionUser in core/modules/block_content/src/Entity/BlockContent.php
Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionUser().
BlockContent::setRevisionUserId in core/modules/block_content/src/Entity/BlockContent.php
Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionUserId().
Comment::preSave in core/modules/comment/src/Entity/Comment.php
Acts on an entity before the presave hook is invoked.
Comment::setAuthorName in core/modules/comment/src/Entity/Comment.php
Sets the name of the author of the comment.
Comment::setCreatedTime in core/modules/comment/src/Entity/Comment.php
Sets the creation date of the comment.
Comment::setFieldName in core/modules/comment/src/Entity/Comment.php
Sets the field ID for which this comment is attached.
Comment::setHomepage in core/modules/comment/src/Entity/Comment.php
Sets the comment author's home page address.
Comment::setHostname in core/modules/comment/src/Entity/Comment.php
Sets the hostname of the author of the comment.
Comment::setSubject in core/modules/comment/src/Entity/Comment.php
Sets the subject of the comment.
Comment::setThread in core/modules/comment/src/Entity/Comment.php
Sets the alphadecimal representation of the comment's place in a thread.
ContentEntityBase::setNewRevision in core/lib/Drupal/Core/Entity/ContentEntityBase.php
Enforces an entity to be saved as a new revision.
ContentEntityBase::setRevisionTranslationAffected in core/lib/Drupal/Core/Entity/ContentEntityBase.php
Marks the current revision translation as affected.
EntityTest::setName in core/modules/system/tests/modules/entity_test/src/Entity/EntityTest.php
Sets the name.
EntityTest::setOwner in core/modules/system/tests/modules/entity_test/src/Entity/EntityTest.php
Sets the entity owner's user entity.
EntityTest::setOwnerId in core/modules/system/tests/modules/entity_test/src/Entity/EntityTest.php
Sets the entity owner's user ID.
Feed::setDescription in core/modules/aggregator/src/Entity/Feed.php
Sets the description of the feed.
Feed::setEtag in core/modules/aggregator/src/Entity/Feed.php
Sets the entity tag HTTP response header, used for validating cache.
Feed::setHash in core/modules/aggregator/src/Entity/Feed.php
Sets the calculated hash of the feed data, used for validating cache.
Feed::setImage in core/modules/aggregator/src/Entity/Feed.php
Sets the primary image attached to the feed.
Feed::setLastCheckedTime in core/modules/aggregator/src/Entity/Feed.php
Sets the time when this feed was queued for refresh, 0 if not queued.
Feed::setLastModified in core/modules/aggregator/src/Entity/Feed.php
Sets the last modification of the feed.
Feed::setQueuedTime in core/modules/aggregator/src/Entity/Feed.php
Sets the time when this feed was queued for refresh, 0 if not queued.
Feed::setRefreshRate in core/modules/aggregator/src/Entity/Feed.php
Sets the refresh rate of the feed in seconds.
Feed::setTitle in core/modules/aggregator/src/Entity/Feed.php
Sets the title of the feed.
Feed::setUrl in core/modules/aggregator/src/Entity/Feed.php
Sets the url to the feed.
Feed::setWebsiteUrl in core/modules/aggregator/src/Entity/Feed.php
Sets the parent website of the feed.
Item::setAuthor in core/modules/aggregator/src/Entity/Item.php
Sets the author of the feed item.
Item::setDescription in core/modules/aggregator/src/Entity/Item.php
Sets the body of the feed item.
Item::setFeedId in core/modules/aggregator/src/Entity/Item.php
Sets the feed id of aggregator item.
Item::setGuid in core/modules/aggregator/src/Entity/Item.php
Sets the unique identifier for the feed item.
Item::setLink in core/modules/aggregator/src/Entity/Item.php
Sets the link to the feed item.
Item::setPostedTime in core/modules/aggregator/src/Entity/Item.php
Sets the posted date of the feed item, as a Unix timestamp.
Item::setTitle in core/modules/aggregator/src/Entity/Item.php
Sets the title of the feed item.
Media::setCreatedTime in core/modules/media/src/Entity/Media.php
Sets the media item creation timestamp.
Media::setName in core/modules/media/src/Entity/Media.php
Sets the media item name.
MenuLinkContent::setRequiresRediscovery in core/modules/menu_link_content/src/Entity/MenuLinkContent.php
Flags a link as requiring rediscovery.
Message::setCopySender in core/modules/contact/src/Entity/Message.php
Sets if the sender should receive a copy of this email or not.
Message::setMessage in core/modules/contact/src/Entity/Message.php
Sets the email message to send.
Message::setSenderMail in core/modules/contact/src/Entity/Message.php
Sets the email address of the sender.
Message::setSenderName in core/modules/contact/src/Entity/Message.php
Sets the name of the message sender.
Message::setSubject in core/modules/contact/src/Entity/Message.php
Sets the subject for the email.
Node::setCreatedTime in core/modules/node/src/Entity/Node.php
Sets the node creation timestamp.
Node::setPromoted in core/modules/node/src/Entity/Node.php
Sets the node promoted status.
Node::setSticky in core/modules/node/src/Entity/Node.php
Sets the node sticky status.
Node::setTitle in core/modules/node/src/Entity/Node.php
Sets the node title.
PathAlias::setAlias in core/modules/path_alias/src/Entity/PathAlias.php
Sets the alias for this path.
PathAlias::setPath in core/modules/path_alias/src/Entity/PathAlias.php
Sets the source path of the alias.
Shortcut::setTitle in core/modules/shortcut/src/Entity/Shortcut.php
Sets the title of this shortcut.
Shortcut::setWeight in core/modules/shortcut/src/Entity/Shortcut.php
Sets the weight among shortcuts with the same depth.
Term::setDescription in core/modules/taxonomy/src/Entity/Term.php
Sets the term description.
Term::setName in core/modules/taxonomy/src/Entity/Term.php
Sets the term name.
Term::setWeight in core/modules/taxonomy/src/Entity/Term.php
Sets the term weight.
User::addRole in core/modules/user/src/Entity/User.php
Add a role to a user.
User::removeRole in core/modules/user/src/Entity/User.php
Remove a role from a user.
User::setUsername in core/modules/user/src/Entity/User.php
Sets the username of this account.
Workspace::setCreatedTime in core/modules/workspaces/src/Entity/Workspace.php
Sets the workspace creation timestamp.