function Box::fields

Same name in other branches
  1. 9 core/modules/block_content/src/Plugin/migrate/source/d6/Box.php \Drupal\block_content\Plugin\migrate\source\d6\Box::fields()
  2. 10 core/modules/block_content/src/Plugin/migrate/source/d6/Box.php \Drupal\block_content\Plugin\migrate\source\d6\Box::fields()
  3. 11.x core/modules/block_content/src/Plugin/migrate/source/d6/Box.php \Drupal\block_content\Plugin\migrate\source\d6\Box::fields()

Overrides MigrateSourceInterface::fields

File

core/modules/block_content/src/Plugin/migrate/source/d6/Box.php, line 31

Class

Box
Drupal 6 block source from database.

Namespace

Drupal\block_content\Plugin\migrate\source\d6

Code

public function fields() {
    return [
        'bid' => $this->t('The numeric identifier of the block/box'),
        'body' => $this->t('The block/box content'),
        'info' => $this->t('Admin title of the block/box.'),
        'format' => $this->t('Input format of the custom block/box content.'),
    ];
}

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