rdf.mapping.node.forum.yml 595 Bytes
Newer Older
1 2 3 4
id: node.forum
targetEntityType: node
bundle: forum
types:
5
  - 'schema:Discussion'
6
fieldMappings:
7
  title:
8
    properties:
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
      - 'schema:name'
  created:
    properties:
      - 'schema:dateCreated'
    datatype_callback: 'date_iso8601'
  changed:
    properties:
      - 'schema:dateModified'
    datatype_callback: 'date_iso8601'
  body:
    properties:
      - 'schema:text'
  uid:
    properties:
      - 'schema:author'
24
    mapping_type: 'rel'
25 26 27 28
  comment_count:
    properties:
      - 'schema:interactionCount'
    datatype_callback: 'Drupal\rdf\SchemaOrgDataConverter::interactionCount'