function BlockCustom::query

Same name in other branches
  1. 8.9.x core/modules/block_content/src/Plugin/migrate/source/d7/BlockCustom.php \Drupal\block_content\Plugin\migrate\source\d7\BlockCustom::query()
  2. 10 core/modules/block_content/src/Plugin/migrate/source/d7/BlockCustom.php \Drupal\block_content\Plugin\migrate\source\d7\BlockCustom::query()
  3. 11.x core/modules/block_content/src/Plugin/migrate/source/d7/BlockCustom.php \Drupal\block_content\Plugin\migrate\source\d7\BlockCustom::query()

Overrides SqlBase::query

File

core/modules/block_content/src/Plugin/migrate/source/d7/BlockCustom.php, line 25

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');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.