public function Box::query in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/block_content/src/Plugin/migrate/source/d6/Box.php \Drupal\block_content\Plugin\migrate\source\d6\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 24 - Contains \Drupal\block_content\Plugin\migrate\source\d6\Box.
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', array(
'bid',
'body',
'info',
'format',
));
$query
->orderBy('bid');
return $query;
}