function ResponsiveImageStyles::query

Same name in other branches
  1. 9 core/modules/responsive_image/src/Plugin/migrate/source/d7/ResponsiveImageStyles.php \Drupal\responsive_image\Plugin\migrate\source\d7\ResponsiveImageStyles::query()
  2. 11.x core/modules/responsive_image/src/Plugin/migrate/source/d7/ResponsiveImageStyles.php \Drupal\responsive_image\Plugin\migrate\source\d7\ResponsiveImageStyles::query()

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');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.