public function Feed::id in Feeds 8.3
Gets the identifier.
Return value
string|int|null The entity identifier, or NULL if the object does not yet have an identifier.
Overrides ContentEntityBase::id
3 calls to Feed::id()
- Feed::getState in src/
Entity/ Feed.php - Returns a state object for a given stage.
- Feed::getType in src/
Entity/ Feed.php - Returns the feed type object that this feed is expected to be used with.
- Feed::lock in src/
Entity/ Feed.php - Locks a feed.
File
- src/
Entity/ Feed.php, line 112
Class
- Feed
- Defines the feed entity class.
Namespace
Drupal\feeds\EntityCode
public function id() {
return $this
->get('fid')->value;
}