function MenuLinkTranslation::fields

Same name in this branch
  1. 9 core/modules/menu_link_content/src/Plugin/migrate/source/d6/MenuLinkTranslation.php \Drupal\menu_link_content\Plugin\migrate\source\d6\MenuLinkTranslation::fields()
Same name in other branches
  1. 8.9.x core/modules/menu_link_content/src/Plugin/migrate/source/d6/MenuLinkTranslation.php \Drupal\menu_link_content\Plugin\migrate\source\d6\MenuLinkTranslation::fields()
  2. 10 core/modules/menu_link_content/src/Plugin/migrate/source/d6/MenuLinkTranslation.php \Drupal\menu_link_content\Plugin\migrate\source\d6\MenuLinkTranslation::fields()
  3. 10 core/modules/menu_link_content/src/Plugin/migrate/source/d7/MenuLinkTranslation.php \Drupal\menu_link_content\Plugin\migrate\source\d7\MenuLinkTranslation::fields()
  4. 11.x core/modules/menu_link_content/src/Plugin/migrate/source/d6/MenuLinkTranslation.php \Drupal\menu_link_content\Plugin\migrate\source\d6\MenuLinkTranslation::fields()
  5. 11.x core/modules/menu_link_content/src/Plugin/migrate/source/d7/MenuLinkTranslation.php \Drupal\menu_link_content\Plugin\migrate\source\d7\MenuLinkTranslation::fields()

Overrides MenuLink::fields

File

core/modules/menu_link_content/src/Plugin/migrate/source/d7/MenuLinkTranslation.php, line 68

Class

MenuLinkTranslation
Drupal 7 i18n menu link translations source from database.

Namespace

Drupal\menu_link_content\Plugin\migrate\source\d7

Code

public function fields() {
    $fields = [
        'title_translated' => $this->t('Menu link title translation.'),
        'description_translated' => $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.