public function PhotosComment::query in Album Photos 8.5
Same name and namespace in other branches
- 8.4 src/Plugin/migrate/source/PhotosComment.php \Drupal\photos\Plugin\migrate\source\PhotosComment::query()
- 6.0.x src/Plugin/migrate/source/PhotosComment.php \Drupal\photos\Plugin\migrate\source\PhotosComment::query()
Return value
\Drupal\Core\Database\Query\SelectInterface
Overrides SqlBase::query
File
- src/
Plugin/ migrate/ source/ PhotosComment.php, line 20
Class
- PhotosComment
- Source plugin for photos image comment content.
Namespace
Drupal\photos\Plugin\migrate\sourceCode
public function query() {
$query = $this
->select('photos_comment', 'c')
->fields('c', [
'fid',
'cid',
]);
return $query;
}