public function EntityLegalDocumentVersion::fields in Entity Legal 8.2
Same name and namespace in other branches
- 4.0.x src/Plugin/migrate/source/EntityLegalDocumentVersion.php \Drupal\entity_legal\Plugin\migrate\source\EntityLegalDocumentVersion::fields()
- 3.0.x src/Plugin/migrate/source/EntityLegalDocumentVersion.php \Drupal\entity_legal\Plugin\migrate\source\EntityLegalDocumentVersion::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
- src/
Plugin/ migrate/ source/ EntityLegalDocumentVersion.php, line 31
Class
- EntityLegalDocumentVersion
- Drupal entity legal document version migration source plugin.
Namespace
Drupal\entity_legal\Plugin\migrate\sourceCode
public function fields() {
return [
'name' => $this
->t('The entity ID of this document.'),
'document_name' => $this
->t('The name of the document this version is bound to.'),
'label' => $this
->t('The title of the document.'),
'published' => $this
->t('Published'),
'acceptance_label' => $this
->t('Acceptance label'),
'created' => $this
->t('The date the document was created.'),
'updated' => $this
->t('The date the document was changed.'),
];
}