public function EckEntityType::fields in Entity Construction Kit (ECK) 8
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/ EckEntityType.php, line 50
Class
- EckEntityType
- Drupal 7 ECK Entity types source from database.
Namespace
Drupal\eck\Plugin\migrate\source\d7Code
public function fields() {
return [
'id' => $this
->t('The primary identifier for a bundle'),
'name' => $this
->t('The machine name of the entity'),
'label' => $this
->t('The entity label'),
'properties' => $this
->t('A serialized list of properties attached to this entity'),
];
}