You are here

public function AggregatorItem::query in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/aggregator/src/Plugin/migrate/source/AggregatorItem.php \Drupal\aggregator\Plugin\migrate\source\AggregatorItem::query()

Return value

\Drupal\Core\Database\Query\SelectInterface

Overrides SqlBase::query

File

core/modules/aggregator/src/Plugin/migrate/source/AggregatorItem.php, line 20

Class

AggregatorItem
Drupal aggregator item source from database.

Namespace

Drupal\aggregator\Plugin\migrate\source

Code

public function query() {
  return $this
    ->select('aggregator_item', 'ai')
    ->fields('ai')
    ->orderBy('ai.iid');
}