function BlockCustomTranslation::getIds

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

Overrides MigrateSourceInterface::getIds

File

core/modules/block_content/src/Plugin/migrate/source/d7/BlockCustomTranslation.php, line 98

Class

BlockCustomTranslation
Drupal 7 i18n custom block translations source from database.

Namespace

Drupal\block_content\Plugin\migrate\source\d7

Code

public function getIds() {
    $ids['bid']['type'] = 'integer';
    $ids['bid']['alias'] = 'b';
    $ids['language']['type'] = 'string';
    return $ids;
}

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