3 namespace Drupal\shortcut\Plugin\migrate\source\d7;
5 use Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase;
8 * Drupal 7 shortcut_set source from database.
11 * id = "d7_shortcut_set",
12 * source_module = "shortcut"
15 class ShortcutSet extends DrupalSqlBase {
20 public function query() {
21 return $this->select('shortcut_set', 'ss')->fields('ss');
27 public function fields() {
29 'set_name' => $this->t("The name under which the set's links are stored."),
30 'title' => $this->t("The title of the set."),
37 public function getIds() {
38 $ids['set_name']['type'] = 'string';