public function EntityLegalDocumentAcceptance::fields in Entity Legal 3.0.x
Same name and namespace in other branches
- 8.2 src/Plugin/migrate/source/EntityLegalDocumentAcceptance.php \Drupal\entity_legal\Plugin\migrate\source\EntityLegalDocumentAcceptance::fields()
- 4.0.x src/Plugin/migrate/source/EntityLegalDocumentAcceptance.php \Drupal\entity_legal\Plugin\migrate\source\EntityLegalDocumentAcceptance::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/ EntityLegalDocumentAcceptance.php, line 27
Class
- EntityLegalDocumentAcceptance
- Drupal entity legal document acceptance migration source plugin.
Namespace
Drupal\entity_legal\Plugin\migrate\sourceCode
public function fields() {
return [
'aid' => $this
->t('The entity ID of this agreement.'),
'document_version_name' => $this
->t('The name of the document version this acceptance is bound to.'),
'uid' => $this
->t('The author of the acceptance.'),
'acceptance_date' => $this
->t('The date the document was accepted.'),
'data' => $this
->t('A dump of user data to help verify acceptances.'),
];
}