function MenuTranslation::getIds

Same name in other branches
  1. 9 core/modules/system/src/Plugin/migrate/source/d7/MenuTranslation.php \Drupal\system\Plugin\migrate\source\d7\MenuTranslation::getIds()
  2. 11.x core/modules/system/src/Plugin/migrate/source/d7/MenuTranslation.php \Drupal\system\Plugin\migrate\source\d7\MenuTranslation::getIds()

Overrides Menu::getIds

File

core/modules/system/src/Plugin/migrate/source/d7/MenuTranslation.php, line 82

Class

MenuTranslation
Drupal 7 i18n menu translation source from database.

Namespace

Drupal\system\Plugin\migrate\source\d7

Code

public function getIds() {
    $ids = parent::getIds();
    $ids['language']['type'] = 'string';
    $ids['language']['alias'] = 'lt';
    $ids['property']['type'] = 'string';
    return $ids;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.