This repository has been archived on 2022-07-12. You can view files and clone it, but cannot push or open issues or pull requests.
opencase/config/optional/rdf.mapping.node.article.yml

53 lines
1.1 KiB
YAML
Raw Normal View History

uuid: 66d0d0b4-c069-4812-8c54-8edafedccb1d
langcode: en
status: true
dependencies:
config:
- node.type.article
module:
- node
_core:
default_config_hash: IdobJe379eDudt7-bXFfJjF7pDqFl-kYxVFtpWrgkro
id: node.article
targetEntityType: node
bundle: article
types:
- 'schema:Article'
fieldMappings:
title:
properties:
- 'schema:name'
created:
properties:
- 'schema:dateCreated'
datatype_callback:
callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value'
changed:
properties:
- 'schema:dateModified'
datatype_callback:
callable: 'Drupal\rdf\CommonDataConverter::dateIso8601Value'
body:
properties:
- 'schema:text'
uid:
properties:
- 'schema:author'
comment:
properties:
- 'schema:comment'
mapping_type: rel
comment_count:
properties:
- 'schema:interactionCount'
datatype_callback:
callable: 'Drupal\rdf\SchemaOrgDataConverter::interactionCount'
arguments:
interaction_type: UserComments
field_image:
properties:
- 'schema:image'
field_tags:
properties:
- 'schema:about'