BoxTranslation.php

Same filename in other branches
  1. 9 core/modules/block_content/src/Plugin/migrate/source/d6/BoxTranslation.php
  2. 8.9.x core/modules/block_content/src/Plugin/migrate/source/d6/BoxTranslation.php
  3. 10 core/modules/block_content/src/Plugin/migrate/source/d6/BoxTranslation.php

Namespace

Drupal\block_content\Plugin\migrate\source\d6

File

core/modules/block_content/src/Plugin/migrate/source/d6/BoxTranslation.php

View source
<?php

namespace Drupal\block_content\Plugin\migrate\source\d6;

use Drupal\block_content\Plugin\migrate\source\d7\BlockCustomTranslation as D7BlockCustomTranslation;

/**
 * Drupal 6 i18n content block translations source from database.
 *
 * For available configuration keys, refer to the parent classes.
 *
 * @see \Drupal\migrate\Plugin\migrate\source\SqlBase
 * @see \Drupal\migrate\Plugin\migrate\source\SourcePluginBase
 *
 * @MigrateSource(
 *   id = "d6_box_translation",
 *   source_module = "i18nblocks"
 * )
 */
class BoxTranslation extends D7BlockCustomTranslation {
    
    /**
     * Drupal 6 table names.
     */
    const CUSTOM_BLOCK_TABLE = 'boxes';
    const I18N_STRING_TABLE = 'i18n_strings';

}

Classes

Title Deprecated Summary
BoxTranslation Drupal 6 i18n content block translations source from database.

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