You are here

public function ViewMode::query in Zircon Profile 8

Same name in this branch
  1. 8 core/modules/node/src/Plugin/migrate/source/d6/ViewMode.php \Drupal\node\Plugin\migrate\source\d6\ViewMode::query()
  2. 8 core/modules/field/src/Plugin/migrate/source/d7/ViewMode.php \Drupal\field\Plugin\migrate\source\d7\ViewMode::query()
Same name and namespace in other branches
  1. 8.0 core/modules/node/src/Plugin/migrate/source/d6/ViewMode.php \Drupal\node\Plugin\migrate\source\d6\ViewMode::query()

Return value

\Drupal\Core\Database\Query\SelectInterface

Overrides SqlBase::query

File

core/modules/node/src/Plugin/migrate/source/d6/ViewMode.php, line 44
Contains \Drupal\node\Plugin\migrate\source\d6\ViewMode.

Class

ViewMode
The view mode source.

Namespace

Drupal\node\Plugin\migrate\source\d6

Code

public function query() {
  $query = $this
    ->select('content_node_field_instance', 'cnfi')
    ->fields('cnfi', array(
    'display_settings',
  ));
  return $query;
}