public function PhotosAccess::query in Album Photos 8.4
Same name and namespace in other branches
- 8.5 photos_access/src/Plugin/migrate/source/PhotosAccess.php \Drupal\photos_access\Plugin\migrate\source\PhotosAccess::query()
- 6.0.x photos_access/src/Plugin/migrate/source/PhotosAccess.php \Drupal\photos_access\Plugin\migrate\source\PhotosAccess::query()
Return value
\Drupal\Core\Database\Query\SelectInterface
Overrides SqlBase::query
File
- photos_access/
src/ Plugin/ migrate/ source/ PhotosAccess.php, line 20
Class
- PhotosAccess
- Source plugin for photos album access.
Namespace
Drupal\photos_access\Plugin\migrate\sourceCode
public function query() {
$query = $this
->select('photos_access_album', 'a')
->fields('a', [
'id',
'nid',
'viewid',
'pass',
]);
return $query;
}