function ViewMode::query

Same name in other branches
  1. 9 core/modules/node/src/Plugin/migrate/source/d6/ViewMode.php \Drupal\node\Plugin\migrate\source\d6\ViewMode::query()
  2. 10 core/modules/node/src/Plugin/migrate/source/d6/ViewMode.php \Drupal\node\Plugin\migrate\source\d6\ViewMode::query()
  3. 11.x core/modules/node/src/Plugin/migrate/source/d6/ViewMode.php \Drupal\node\Plugin\migrate\source\d6\ViewMode::query()

Overrides SqlBase::query

File

core/modules/node/src/Plugin/migrate/source/d6/ViewMode.php, line 42

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', [
        'display_settings',
    ]);
    return $query;
}

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