Commit 1fd70d15 authored by catch's avatar catch
Browse files

Issue #3302984 by longwave, smustgrave, quietone, Spokje: Remove RDF module from Umami

(cherry picked from commit 42a77435)
parent f3427282
Loading
Loading
Loading
Loading
+0 −38
Original line number Diff line number Diff line
langcode: en
status: true
dependencies:
  config:
    - node.type.article
  module:
    - node
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'
  field_image:
    properties:
      - 'schema:image'
  field_tags:
    properties:
      - 'schema:about'
+0 −33
Original line number Diff line number Diff line
langcode: en
status: true
dependencies:
  config:
    - node.type.page
  module:
    - node
id: node.page
targetEntityType: node
bundle: page
types:
  - 'schema:WebPage'
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'
    mapping_type: rel
+0 −19
Original line number Diff line number Diff line
langcode: en
status: true
dependencies:
  config:
    - taxonomy.vocabulary.tags
  module:
    - taxonomy
id: taxonomy_term.tags
targetEntityType: taxonomy_term
bundle: tags
types:
  - 'schema:Thing'
fieldMappings:
  name:
    properties:
      - 'schema:name'
  description:
    properties:
      - 'schema:description'
+0 −1
Original line number Diff line number Diff line
@@ -34,7 +34,6 @@ install:
  - toolbar
  - field_ui
  - file
  - rdf
  - views
  - views_ui
  - tour
+0 −20
Original line number Diff line number Diff line
{#
/**
 * @file
 * Theme override for empty spans with RDF attributes.
 *
 * The XHTML+RDFa doctype allows either <span></span> or <span /> syntax to
 * be used, but for maximum browser compatibility, W3C recommends the
 * former when serving pages using the text/html media type, see
 * http://www.w3.org/TR/xhtml1/#C_3.
 *
 * Available variables:
 * - metadata: Each item within corresponds to its own set of attributes,
 *   and therefore, needs its own 'attributes' element.
 *
 * @see template_preprocess_rdf_metadata()
 */
#}
{% for attributes in metadata %}
  <span{{ attributes.addClass('rdf-meta', 'hidden') }}></span>
{% endfor %}
Loading