You are here

public function LibraryContentTypes::getIds in Library 8

Defines the source fields uniquely identifying a source row.

None of these fields should contain a NULL value. If necessary, use prepareRow() or hook_migrate_prepare_row() to rewrite NULL values to appropriate empty values (such as '' or 0).

Return value

array Array keyed by source field name, with values being a schema array describing the field (such as ['type' => 'string]).

Overrides MigrateSourceInterface::getIds

File

src/Plugin/migrate/source/d6/LibraryContentTypes.php, line 53

Class

LibraryContentTypes
Drupal 6 library source.

Namespace

Drupal\library\Plugin\migrate\source\d6

Code

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