function Book::getIds

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

Overrides MigrateSourceInterface::getIds

File

core/modules/book/src/Plugin/migrate/source/Book.php, line 40

Class

Book
Drupal 6/7 book source from database.

Namespace

Drupal\book\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.