function Menu::getIds

Same name in other branches
  1. 9 core/modules/system/src/Plugin/migrate/source/Menu.php \Drupal\system\Plugin\migrate\source\Menu::getIds()
  2. 8.9.x core/modules/system/src/Plugin/migrate/source/Menu.php \Drupal\system\Plugin\migrate\source\Menu::getIds()
  3. 10 core/modules/system/src/Plugin/migrate/source/Menu.php \Drupal\system\Plugin\migrate\source\Menu::getIds()

Overrides MigrateSourceInterface::getIds

1 method overrides Menu::getIds()
MenuTranslation::getIds in core/modules/system/src/Plugin/migrate/source/d7/MenuTranslation.php
Defines the source fields uniquely identifying a source row.

File

core/modules/system/src/Plugin/migrate/source/Menu.php, line 58

Class

Menu
Drupal 6/7 menu source from database.

Namespace

Drupal\system\Plugin\migrate\source

Code

public function getIds() {
    $ids['menu_name']['type'] = 'string';
    return $ids;
}

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