function Block::getIds

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

Overrides MigrateSourceInterface::getIds

1 call to Block::getIds()
BlockTranslation::getIds in core/modules/block/src/Plugin/migrate/source/d6/BlockTranslation.php
Defines the source fields uniquely identifying a source row.
2 methods override Block::getIds()
BlockTranslation::getIds in core/modules/block/src/Plugin/migrate/source/d6/BlockTranslation.php
Defines the source fields uniquely identifying a source row.
BlockTranslation::getIds in core/modules/block/src/Plugin/migrate/source/d7/BlockTranslation.php
Defines the source fields uniquely identifying a source row.

File

core/modules/block/src/Plugin/migrate/source/Block.php, line 109

Class

Block
Drupal 6/7 block source from database.

Namespace

Drupal\block\Plugin\migrate\source

Code

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

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