public function BlockCustom::query in Drupal 9
Same name and namespace in other branches
- 8 core/modules/block_content/src/Plugin/migrate/source/d7/BlockCustom.php \Drupal\block_content\Plugin\migrate\source\d7\BlockCustom::query()
Return value
\Drupal\Core\Database\Query\SelectInterface
Overrides SqlBase::query
File
- core/
modules/ block_content/ src/ Plugin/ migrate/ source/ d7/ BlockCustom.php, line 24
Class
- BlockCustom
- Drupal 7 custom block source from database.
Namespace
Drupal\block_content\Plugin\migrate\source\d7Code
public function query() {
return $this
->select('block_custom', 'b')
->fields('b');
}