You are here

public function FilterFormat::query in Drupal 8

Same name in this branch
  1. 8 core/modules/filter/src/Plugin/migrate/source/d6/FilterFormat.php \Drupal\filter\Plugin\migrate\source\d6\FilterFormat::query()
  2. 8 core/modules/filter/src/Plugin/migrate/source/d7/FilterFormat.php \Drupal\filter\Plugin\migrate\source\d7\FilterFormat::query()
Same name and namespace in other branches
  1. 9 core/modules/filter/src/Plugin/migrate/source/d6/FilterFormat.php \Drupal\filter\Plugin\migrate\source\d6\FilterFormat::query()
  2. 10 core/modules/filter/src/Plugin/migrate/source/d6/FilterFormat.php \Drupal\filter\Plugin\migrate\source\d6\FilterFormat::query()

Return value

\Drupal\Core\Database\Query\SelectInterface

Overrides SqlBase::query

File

core/modules/filter/src/Plugin/migrate/source/d6/FilterFormat.php, line 21

Class

FilterFormat
Drupal 6 filter source from database.

Namespace

Drupal\filter\Plugin\migrate\source\d6

Code

public function query() {
  return $this
    ->select('filter_formats', 'f')
    ->fields('f');
}