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. 10 core/modules/block/src/Plugin/migrate/source/Block.php \Drupal\block\Plugin\migrate\source\Block::getIds()
  3. 11.x 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 102

Class

Block
Drupal 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.