function Variable::getIds

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

Overrides MigrateSourceInterface::getIds

2 methods override Variable::getIds()
SearchPage::getIds in core/modules/search/src/Plugin/migrate/source/d6/SearchPage.php
Defines the source fields uniquely identifying a source row.
SearchPage::getIds in core/modules/search/src/Plugin/migrate/source/d7/SearchPage.php
Defines the source fields uniquely identifying a source row.

File

core/modules/migrate_drupal/src/Plugin/migrate/source/Variable.php, line 170

Class

Variable
Drupal 6/7 variable source from database.

Namespace

Drupal\migrate_drupal\Plugin\migrate\source

Code

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

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