function MenuLink::getIds

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

Overrides MigrateSourceInterface::getIds

3 calls to MenuLink::getIds()
MenuLinkLocalized::getIds in core/modules/menu_link_content/src/Plugin/migrate/source/d7/MenuLinkLocalized.php
Defines the source fields uniquely identifying a source row.
MenuLinkTranslation::getIds in core/modules/menu_link_content/src/Plugin/migrate/source/d6/MenuLinkTranslation.php
Defines the source fields uniquely identifying a source row.
MenuLinkTranslation::getIds in core/modules/menu_link_content/src/Plugin/migrate/source/d7/MenuLinkTranslation.php
Defines the source fields uniquely identifying a source row.
3 methods override MenuLink::getIds()
MenuLinkLocalized::getIds in core/modules/menu_link_content/src/Plugin/migrate/source/d7/MenuLinkLocalized.php
Defines the source fields uniquely identifying a source row.
MenuLinkTranslation::getIds in core/modules/menu_link_content/src/Plugin/migrate/source/d6/MenuLinkTranslation.php
Defines the source fields uniquely identifying a source row.
MenuLinkTranslation::getIds in core/modules/menu_link_content/src/Plugin/migrate/source/d7/MenuLinkTranslation.php
Defines the source fields uniquely identifying a source row.

File

core/modules/menu_link_content/src/Plugin/migrate/source/MenuLink.php, line 208

Class

MenuLink
Drupal 6/7 menu link source from database.

Namespace

Drupal\menu_link_content\Plugin\migrate\source

Code

public function getIds() {
    $ids['mlid']['type'] = 'integer';
    $ids['mlid']['alias'] = 'ml';
    return $ids;
}

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