name: Events
description: Adds an event content type and listing page.
type: Drupal CMS
recipes:
  - core/recipes/document_media_type
  - drupal_cms_page
  - drupal_cms_privacy_basic
install:
  - add_content_by_bundle
  - address
  - addtocal_augment
  - date_augmenter
  - geofield
  - geocoder
  - geocoder_address
  - geocoder_geofield
  - leaflet_views
  - menu_link_content
  - smart_date
config:
  # Treat all field storages strictly, since they influence the database layout.
  strict:
    - field.storage.node.field_date
    - field.storage.node.field_file
    - field.storage.node.field_geofield
    - field.storage.node.field_link
    - field.storage.node.field_location_address
  import:
    geofield: '*'
    smart_date: '*'
    system:
      - system.menu.main
  actions:
    user.role.content_editor:
      grantPermissions:
        - 'create event content'
        - 'delete event revisions'
        - 'delete any event content'
        - 'edit any event content'
    workflows.workflow.basic_editorial:
      addNodeTypes: ['event']
    klaro.klaro_app.leaflet:
      enable: []
