field.field.node.basic_page.field_noadd_media.yml

Same filename in other branches
  1. 8.9.x core/modules/media_library/tests/modules/media_library_test/config/install/field.field.node.basic_page.field_noadd_media.yml
  2. 10 core/modules/media_library/tests/modules/media_library_test/config/install/field.field.node.basic_page.field_noadd_media.yml
  3. 11.x core/modules/media_library/tests/modules/media_library_test/config/install/field.field.node.basic_page.field_noadd_media.yml
core/modules/media_library/tests/modules/media_library_test/config/install/field.field.node.basic_page.field_noadd_media.yml

File

core/modules/media_library/tests/modules/media_library_test/config/install/field.field.node.basic_page.field_noadd_media.yml

View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. config:
  5. - field.storage.node.field_noadd_media
  6. - media.type.type_one
  7. - media.type.type_two
  8. - node.type.basic_page
  9. id: node.basic_page.field_noadd_media
  10. field_name: field_noadd_media
  11. entity_type: node
  12. bundle: basic_page
  13. label: 'No add media'
  14. description: ''
  15. required: false
  16. translatable: false
  17. default_value: { }
  18. default_value_callback: ''
  19. settings:
  20. handler: 'default:media'
  21. handler_settings:
  22. target_bundles:
  23. type_one: type_one
  24. type_two: type_two
  25. sort:
  26. field: _none
  27. auto_create: false
  28. auto_create_bundle: file
  29. field_type: entity_reference

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.