public function RemoteFile::id in File URL 8
Same name and namespace in other branches
- 2.0.x src/Entity/RemoteFile.php \Drupal\file_url\Entity\RemoteFile::id()
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
File
- src/
Entity/ RemoteFile.php, line 40
Class
- RemoteFile
- Defines the remote file entity class.
Namespace
Drupal\file_url\EntityCode
public function id() {
return $this
->getFileUri();
}