Advertisement
Guest User

Untitled

a guest
Dec 4th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. process:
  2. fid: fid
  3. filename: filename
  4. uuid: uuid
  5. status: status
  6. created: timestamp
  7. changed: timestamp
  8. uid: uid
  9. [...]
  10.  
  11. /**
  12. * {@inheritdoc}
  13. */
  14. public function fields() {
  15. return array(
  16. 'fid' => $this->t('File ID'),
  17. 'uid' => $this->t('The {users}.uid who added the file. If set to 0, this file was added by an anonymous user.'),
  18. 'filename' => $this->t('File name'),
  19. 'filepath' => $this->t('File path'),
  20. 'filemime' => $this->t('File MIME Type'),
  21. 'status' => $this->t('The published status of a file.'),
  22. 'timestamp' => $this->t('The time that the file was added.'),
  23. 'uuid' => $this->t('UUID'),
  24. );
  25. }
  26.  
  27. $query = $this->select('file_managed', 'f')
  28. ->fields('f')
  29. ->orderBy('f.timestamp');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement