function MenuLinkLocalized::fields
Same name in other branches
- 10 core/modules/menu_link_content/src/Plugin/migrate/source/d7/MenuLinkLocalized.php \Drupal\menu_link_content\Plugin\migrate\source\d7\MenuLinkLocalized::fields()
- 11.x core/modules/menu_link_content/src/Plugin/migrate/source/d7/MenuLinkLocalized.php \Drupal\menu_link_content\Plugin\migrate\source\d7\MenuLinkLocalized::fields()
Overrides MenuLink::fields
File
-
core/
modules/ menu_link_content/ src/ Plugin/ migrate/ source/ d7/ MenuLinkLocalized.php, line 32
Class
- MenuLinkLocalized
- Drupal 7 localized menu link translations source from database.
Namespace
Drupal\menu_link_content\Plugin\migrate\source\d7Code
public function fields() {
$fields = [
'ml_language' => $this->t('Menu link ID of the source language menu link.'),
'skip_source_translation' => $this->t('Menu link description translation.'),
];
return parent::fields() + $fields;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.