public function CommentType::query in Drupal 9
Return value
\Drupal\Core\Database\Query\SelectInterface
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',
]);
}