You are here

public function AggregatorItem::query in Drupal 9

Same name and namespace in other branches
  1. 8 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 25

Class

AggregatorItem
Drupal 6/7 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');
}