Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. BlockCustomTranslation.php

function BlockCustomTranslation::getIds

Overrides MigrateSourceInterface::getIds

File

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

Class

BlockCustomTranslation
Drupal 7 i18n content 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;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal