You are here

public function BlockCustom::query in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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
Contains \Drupal\block_content\Plugin\migrate\source\d7\BlockCustom.

Class

BlockCustom
Drupal 7 custom block source from database.

Namespace

Drupal\block_content\Plugin\migrate\source\d7

Code

public function query() {
  return $this
    ->select('block_custom', 'b')
    ->fields('b');
}