You are here

public function FieldablePanelsPane::fields in Fieldable Panels Panes (FPP) 1.0.x

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

1 call to FieldablePanelsPane::fields()
FieldablePanelsPaneRevision::fields in src/Plugin/migrate/source/d7/FieldablePanelsPaneRevision.php
Returns available fields on the source.
1 method overrides FieldablePanelsPane::fields()
FieldablePanelsPaneRevision::fields in src/Plugin/migrate/source/d7/FieldablePanelsPaneRevision.php
Returns available fields on the source.

File

src/Plugin/migrate/source/d7/FieldablePanelsPane.php, line 135

Class

FieldablePanelsPane
Drupal 7 node source from database.

Namespace

Drupal\fieldable_panels_panes\Plugin\migrate\source\d7

Code

public function fields() {
  $fields = [
    'fpid' => $this
      ->t('Fieldable Panel Pane ID'),
    'bundle' => $this
      ->t('Bundle'),
    'title' => $this
      ->t('Title'),
    'entity_uid' => $this
      ->t('Panel pane authored by (uid)'),
    'revision_uid' => $this
      ->t('Revision authored by (uid)'),
    'admin_title' => $this
      ->t('Administrative title for panel pane'),
    'admin_description' => $this
      ->t('Administrative description for panel pane'),
    'category' => $this
      ->t('Panel pane category'),
    'reusable' => $this
      ->t('Whether the panel pane is reusable'),
    'created' => $this
      ->t('Created timestamp'),
    'changed' => $this
      ->t('Modified timestamp'),
    'revision' => $this
      ->t('Create new revision'),
    'language' => $this
      ->t('Language (fr, en, ...)'),
    'timestamp' => $this
      ->t('The timestamp the latest revision of this panel pane was created.'),
  ];
  return $fields;
}