function CommentType::query
Same name in other branches
- 9 core/modules/comment/src/Plugin/migrate/source/CommentType.php \Drupal\comment\Plugin\migrate\source\CommentType::query()
- 8.9.x core/modules/comment/src/Plugin/migrate/source/d7/CommentType.php \Drupal\comment\Plugin\migrate\source\d7\CommentType::query()
- 10 core/modules/comment/src/Plugin/migrate/source/CommentType.php \Drupal\comment\Plugin\migrate\source\CommentType::query()
Overrides SqlBase::query
File
-
core/
modules/ comment/ src/ Plugin/ migrate/ source/ CommentType.php, line 27
Class
- CommentType
- Drupal 6/7 comment types source from database.
Namespace
Drupal\comment\Plugin\migrate\sourceCode
public function query() {
return $this->select('node_type', 't')
->fields('t', [
'type',
'name',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.