public function BlockCustom::query in Drupal 8
Same name and namespace in other branches
- 9 core/modules/block_content/src/Plugin/migrate/source/d7/BlockCustom.php \Drupal\block_content\Plugin\migrate\source\d7\BlockCustom::query()
- 10 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 20
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');
}