public function FieldablePanelsPaneType::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/ FieldablePanelsPaneType.php, line 27
Class
- FieldablePanelsPaneType
- Drupal 7 fieldable panels pane types source from database.
Namespace
Drupal\fieldable_panels_panes\Plugin\migrate\source\d7Code
public function fields() {
$fields = [
'name' => $this
->t('Human name of the panel pane type.'),
'description' => $this
->t('Description of the panel pane type.'),
'title' => $this
->t('Title label.'),
];
return $fields;
}