You are here

public function ResponsiveImageStyles::query in Drupal 9

Same name and namespace in other branches
  1. 10 core/modules/responsive_image/src/Plugin/migrate/source/d7/ResponsiveImageStyles.php \Drupal\responsive_image\Plugin\migrate\source\d7\ResponsiveImageStyles::query()

Return value

\Drupal\Core\Database\Query\SelectInterface

Overrides SqlBase::query

File

core/modules/responsive_image/src/Plugin/migrate/source/d7/ResponsiveImageStyles.php, line 28

Class

ResponsiveImageStyles
Gets Drupal responsive image styles source from database.

Namespace

Drupal\responsive_image\Plugin\migrate\source\d7

Code

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