You are here

public function PhotosNode::query in Album Photos 8.4

Return value

\Drupal\Core\Database\Query\SelectInterface

Overrides SqlBase::query

File

src/Plugin/migrate/source/PhotosNode.php, line 20

Class

PhotosNode
Source plugin for photos sub-album content.

Namespace

Drupal\photos\Plugin\migrate\source

Code

public function query() {
  $query = $this
    ->select('photos_node', 'n')
    ->fields('n', [
    'nid',
    'fid',
    'wid',
  ]);
  return $query;
}