function Shortcut::fields
Same name in other branches
- 9 core/modules/shortcut/src/Plugin/migrate/source/d7/Shortcut.php \Drupal\shortcut\Plugin\migrate\source\d7\Shortcut::fields()
- 8.9.x core/modules/shortcut/src/Plugin/migrate/source/d7/Shortcut.php \Drupal\shortcut\Plugin\migrate\source\d7\Shortcut::fields()
- 11.x core/modules/shortcut/src/Plugin/migrate/source/d7/Shortcut.php \Drupal\shortcut\Plugin\migrate\source\d7\Shortcut::fields()
Overrides MigrateSourceInterface::fields
File
-
core/
modules/ shortcut/ src/ Plugin/ migrate/ source/ d7/ Shortcut.php, line 38
Class
- Shortcut
- Drupal 7 shortcut links source from database.
Namespace
Drupal\shortcut\Plugin\migrate\source\d7Code
public function fields() {
return [
'mlid' => $this->t("The menu.mlid primary key for this menu link (= shortcut link)."),
'menu_name' => $this->t("The menu name (= set name) for this shortcut link."),
'link_path' => $this->t("The link for this shortcut."),
'link_title' => $this->t("The title for this shortcut."),
'weight' => $this->t("The weight for this shortcut"),
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.