You are here

public function Box::fields in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/block_content/src/Plugin/migrate/source/d6/Box.php \Drupal\block_content\Plugin\migrate\source\d6\Box::fields()

Returns available fields on the source.

Return value

array Available fields in the source, keys are the field machine names as used in field mappings, values are descriptions.

Overrides MigrateSourceInterface::fields

File

core/modules/block_content/src/Plugin/migrate/source/d6/Box.php, line 35
Contains \Drupal\block_content\Plugin\migrate\source\d6\Box.

Class

Box
Drupal 6 block source from database.

Namespace

Drupal\block_content\Plugin\migrate\source\d6

Code

public function fields() {
  return array(
    '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.'),
  );
}