function Box::query
Return value
\Drupal\Core\Database\Query\SelectInterface
Overrides SqlBase::query
File
- 
              core/modules/ block_content/ src/ Plugin/ migrate/ source/ d6/ Box.php, line 20 
Class
- Box
- Drupal 6 block source from database.
Namespace
Drupal\block_content\Plugin\migrate\source\d6Code
public function query() {
  $query = $this->select('boxes', 'b')
    ->fields('b', [
    'bid',
    'body',
    'info',
    'format',
  ]);
  $query->orderBy('b.bid');
  return $query;
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
