You are here

private function VideoFieldTestCase::getThumbnailFiles in Video 7.2

4 calls to VideoFieldTestCase::getThumbnailFiles()
VideoFieldTestCase::testDeleteVideoFieldItem in tests/VideoField.test
Tests basic behavior for deleting a video from a node
VideoFieldTestCase::testDeleteVideoFieldItemTwice in tests/VideoField.test
Tests adding a video to two different nodes and deleting them one by one
VideoFieldTestCase::testDeleteVideoFieldItemTwice_EntityDelete in tests/VideoField.test
Tests adding a video to two different nodes and deleting the nodes
VideoFieldTestCase::testSaveVideoFieldItem in tests/VideoField.test
Tests basic behavior for saving a new video and adding it to a node.

File

tests/VideoField.test, line 402
Tests for the the Video field type

Class

VideoFieldTestCase
Tests for the the Video field type

Code

private function getThumbnailFiles($videofid) {
  return db_query('SELECT t.*, f.* FROM {video_thumbnails} t INNER JOIN {file_managed} f ON (f.fid = t.thumbnailfid) WHERE t.videofid = :fid', array(
    ':fid' => $videofid,
  ))
    ->fetchAllAssoc('fid');
}