function NodeEntityTranslation::getIds

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

Overrides MigrateSourceInterface::getIds

File

core/modules/node/src/Plugin/migrate/source/d7/NodeEntityTranslation.php, line 133

Class

NodeEntityTranslation
Drupal 7 node entity translations source from database.

Namespace

Drupal\node\Plugin\migrate\source\d7

Code

public function getIds() {
    return [
        'entity_id' => [
            'type' => 'integer',
            'alias' => 'et',
        ],
        'language' => [
            'type' => 'string',
            'alias' => 'et',
        ],
    ];
}

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