You are here

public function ShortcutSet::query in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/shortcut/src/Plugin/migrate/source/d7/ShortcutSet.php \Drupal\shortcut\Plugin\migrate\source\d7\ShortcutSet::query()
  2. 9 core/modules/shortcut/src/Plugin/migrate/source/d7/ShortcutSet.php \Drupal\shortcut\Plugin\migrate\source\d7\ShortcutSet::query()

Return value

\Drupal\Core\Database\Query\SelectInterface

Overrides SqlBase::query

File

core/modules/shortcut/src/Plugin/migrate/source/d7/ShortcutSet.php, line 25

Class

ShortcutSet
Drupal 7 shortcut_set source from database.

Namespace

Drupal\shortcut\Plugin\migrate\source\d7

Code

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