public function ViewMode::query in Drupal 9
Same name and namespace in other branches
- 8 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 47
Class
- ViewMode
- Drupal 6 view mode source from database.
Namespace
Drupal\node\Plugin\migrate\source\d6Code
public function query() {
$query = $this
->select('content_node_field_instance', 'cnfi')
->fields('cnfi', [
'display_settings',
]);
return $query;
}