You are here

public function ImageCachePreset::query in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/image/src/Plugin/migrate/source/d6/ImageCachePreset.php \Drupal\image\Plugin\migrate\source\d6\ImageCachePreset::query()
  2. 10 core/modules/image/src/Plugin/migrate/source/d6/ImageCachePreset.php \Drupal\image\Plugin\migrate\source\d6\ImageCachePreset::query()

Return value

\Drupal\Core\Database\Query\SelectInterface

Overrides SqlBase::query

File

core/modules/image/src/Plugin/migrate/source/d6/ImageCachePreset.php, line 21

Class

ImageCachePreset
Drupal 6 imagecache presets source from database.

Namespace

Drupal\image\Plugin\migrate\source\d6

Code

public function query() {
  $query = $this
    ->select('imagecache_preset', 'icp')
    ->fields('icp');
  return $query;
}