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