public function ParagraphsType::fields

File

paragraphs/src/Plugin/migrate/source/d7/ParagraphsType.php, line 61

Class

ParagraphsType
Paragraphs Type source plugin.

Namespace

Drupal\paragraphs\Plugin\migrate\source\d7

Code

public function fields() {
  return [
    'bundle' => $this
      ->t('Paragraph type machine name'),
    'name' => $this
      ->t('Paragraph type label'),
    'description' => $this
      ->t('Paragraph type description'),
  ];
}