Skip to content

Commit

Permalink
Update amiSetEntity.php
Browse files Browse the repository at this point in the history
Don't make CSV required. Makes Ingesting via JSON:API easier. Also allows us to have in the future complete remote sources.
  • Loading branch information
DiegoPino authored May 15, 2021
1 parent 5cdcddf commit 5583c58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Entity/amiSetEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ public static function baseFieldDefinitions(EntityTypeInterface $entity_type) {
->setDescription(t('A CSV containing the Source Data to be processed'))
->setSetting('file_extensions', 'csv')
->setSetting('upload_validators', $validators)
->setRequired(TRUE)
->setRequired(FALSE)
->setDisplayOptions('view', [
'label' => 'above',
'type' => 'file',
Expand Down

0 comments on commit 5583c58

Please sign in to comment.