public function Accordionblock::query in Accordion Blocks 8
Return value
\Drupal\Core\Database\Query\SelectInterface
Overrides SqlBase::query
File
- src/
Plugin/ migrate/ source/ Accordionblock.php, line 35
Class
- Accordionblock
- Accordion block source from database
Namespace
Drupal\accordion_blocks\Plugin\migrate\sourceCode
public function query() {
$query = $this
->select('accordion_blocks', 'ab')
->fields('ab', [
'id',
'title',
'content',
])
->orderBy('id', 'ASC');
return $query;
}