private function VideoFieldTestCase::getQueues in Video 7.2
5 calls to VideoFieldTestCase::getQueues()
- 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.
- VideoFieldTestCase::testSaveVideoFieldItemTwice in tests/
VideoField.test - Tests saving a new video and adding it to two different nodes
File
- tests/
VideoField.test, line 386 - Tests for the the Video field type
Class
- VideoFieldTestCase
- Tests for the the Video field type
Code
private function getQueues($fid) {
$queues = array();
$result = db_query('SELECT q.* FROM {video_queue} q WHERE q.fid = :fid', array(
':fid' => $fid,
))
->fetchAll();
foreach ($result as $q) {
$q->data = unserialize($q->data);
$queues[] = $q;
}
return $queues;
}