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

Breadcrumb

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

function BlockCustomTranslation::fields

Overrides MigrateSourceInterface::fields

File

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

Class

BlockCustomTranslation
Drupal 7 i18n content block translations source from database.

Namespace

Drupal\block_content\Plugin\migrate\source\d7

Code

public function fields() {
    return [
        'bid' => $this->t('The block numeric identifier.'),
        'format' => $this->t('Input format of the content block/box content.'),
        'lid' => $this->t('i18n_string table id'),
        'language' => $this->t('Language for this field.'),
        'property' => $this->t('Block property'),
        'translation' => $this->t('The translation of the value of "property".'),
        'title' => $this->t('Block title.'),
        'title_translated' => $this->t('Block title translation.'),
        'body' => $this->t('Block body.'),
        'body_translated' => $this->t('Block body translation.'),
    ];
}

API Navigation

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