public function FieldablePanelsPaneEntityTranslation::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
File
- src/
Plugin/ migrate/ source/ d7/ FieldablePanelsPaneEntityTranslation.php, line 78
Class
- FieldablePanelsPaneEntityTranslation
- Provides Drupal 7 node entity translations source plugin.
Namespace
Drupal\fieldable_panels_panes\Plugin\migrate\source\d7Code
public function fields() {
return [
'bundle' => $this
->t('The entity type this translation relates to'),
'entity_id' => $this
->t('The entity ID this translation relates to'),
'revision_id' => $this
->t('The entity revision ID this translation relates to'),
'language' => $this
->t('The target language for this translation.'),
'source' => $this
->t('The source language from which this translation was created.'),
'uid' => $this
->t('The author of this translation.'),
'created' => $this
->t('The Unix timestamp when the translation was created.'),
'changed' => $this
->t('The Unix timestamp when the translation was most recently saved.'),
'title' => $this
->t('Panel pane title'),
'log' => $this
->t('Revision log'),
'timestamp' => $this
->t('The timestamp the latest revision of this panel pane was created.'),
'revision_uid' => $this
->t('Revision authored by (uid)'),
];
}