You are here

public function ViewMode::query in Commerce Migrate 3.0.x

Same name and namespace in other branches
  1. 8.2 modules/ubercart/src/Plugin/migrate/source/uc6/ViewMode.php \Drupal\commerce_migrate_ubercart\Plugin\migrate\source\uc6\ViewMode::query()
  2. 3.1.x modules/ubercart/src/Plugin/migrate/source/uc6/ViewMode.php \Drupal\commerce_migrate_ubercart\Plugin\migrate\source\uc6\ViewMode::query()

Return value

\Drupal\Core\Database\Query\SelectInterface

Overrides ViewMode::query

File

modules/ubercart/src/Plugin/migrate/source/uc6/ViewMode.php, line 51

Class

ViewMode
The view mode source.

Namespace

Drupal\commerce_migrate_ubercart\Plugin\migrate\source\uc6

Code

public function query() {
  $query = parent::query();
  $query
    ->addField('cnfi', 'type_name');
  return $query;
}