You are here

bibcite_bibtex.services.yml in Bibliography & Citation 2.0.x

Same filename and directory in other branches
  1. 8 modules/bibcite_bibtex/bibcite_bibtex.services.yml
modules/bibcite_bibtex/bibcite_bibtex.services.yml

File

modules/bibcite_bibtex/bibcite_bibtex.services.yml
View source
  1. services:
  2. bibcite_bibtex.encoder.bibtex:
  3. class: Drupal\bibcite_bibtex\Encoder\BibtexEncoder
  4. tags:
  5. - { name: encoder, format: bibtex }
  6. bibcite_bibtex.normalizer.reference:
  7. class: Drupal\bibcite_bibtex\Normalizer\BibtexReferenceNormalizer
  8. tags:
  9. - { name: normalizer, priority: 5 }
  10. arguments: ['@entity_type.manager', '@config.factory', '@entity_type.repository', '@entity_field.manager']
  11. calls:
  12. - [setFormat, ['bibtex']]
  13. properties:
  14. defaultType: 'misc'
  15. contributorKey: 'author'
  16. keywordKey: 'keywords'