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. 10 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

1 call to MenuLink::getIds()
MenuLinkTranslation::getIds in core/modules/menu_link_content/src/Plugin/migrate/source/d6/MenuLinkTranslation.php
Defines the source fields uniquely identifying a source row.
1 method overrides MenuLink::getIds()
MenuLinkTranslation::getIds in core/modules/menu_link_content/src/Plugin/migrate/source/d6/MenuLinkTranslation.php
Defines the source fields uniquely identifying a source row.

File

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

Class

MenuLink
Drupal 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.