public function NodeType::query in Zircon Profile 8.0
Same name in this branch
- 8.0 core/modules/node/src/Plugin/migrate/source/d6/NodeType.php \Drupal\node\Plugin\migrate\source\d6\NodeType::query()
- 8.0 core/modules/node/src/Plugin/migrate/source/d7/NodeType.php \Drupal\node\Plugin\migrate\source\d7\NodeType::query()
Same name and namespace in other branches
- 8 core/modules/node/src/Plugin/migrate/source/d6/NodeType.php \Drupal\node\Plugin\migrate\source\d6\NodeType::query()
Return value
\Drupal\Core\Database\Query\SelectInterface
Overrides SqlBase::query
File
- core/
modules/ node/ src/ Plugin/ migrate/ source/ d6/ NodeType.php, line 46 - Contains \Drupal\node\Plugin\migrate\source\d6\NodeType.
Class
- NodeType
- Drupal 6 Node types source from database.
Namespace
Drupal\node\Plugin\migrate\source\d6Code
public function query() {
return $this
->select('node_type', 't')
->fields('t', array(
'type',
'name',
'module',
'description',
'help',
'title_label',
'has_body',
'body_label',
'min_word_count',
'custom',
'modified',
'locked',
'orig_type',
))
->orderBy('t.type');
}