private function VideoFieldTestCase::getConvertedFiles in Video 7.2
4 calls to VideoFieldTestCase::getConvertedFiles()
- 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 398 - Tests for the the Video field type
Class
- VideoFieldTestCase
- Tests for the the Video field type
Code
private function getConvertedFiles($originalfid) {
return db_query('SELECT o.*, f.* FROM {video_output} o INNER JOIN {file_managed} f ON (f.fid = o.output_fid) WHERE o.original_fid = :fid', array(
':fid' => $originalfid,
))
->fetchAllAssoc('fid');
}