0

I have installed this module and I assume that this works not only in the regular content type but also in the group module. I was expecting that after enabling the module there is an option to map my group type fields in the manage fields section but none even in the edit setting of the group type.

See RDF Mappings in the Basic Page content type: enter image description here

Notice this from the module:

Features

RDF UI Map Content Types to Schema.org Types. Map Fields to Schema.org properties.

Does the group module supports schema integration? If yes, is there any documentation provided?

2
  • 1
    Please edit your question to explain what kind of integration you're looking for. Commented Nov 1, 2017 at 8:26
  • Added details of my current case. Commented Nov 1, 2017 at 8:46

1 Answer 1

0

The RDF UI module only provides the 'RDF Mapping' local task for nodes at the moment (so not Group entities). See the if statement in this snippet from Drupal\rdfui\Plugin\Derivative\RdfUiLocalTask::getDerivativeDefinitions():

foreach ($this->entityManager->getDefinitions() as $entity_type_id => $entity_type) {
  if ($entity_type->get('field_ui_base_route') && $entity_type_id === "node") {

    $this->derivatives["overview_$entity_type_id"] = array(
      'route_name' => "entity.$entity_type_id.field_ui_fields",
      'title' => $this->t('Fields'),
      'parent_id' => "field_ui.fields:overview_$entity_type_id",
    );

    $this->derivatives["rdf_$entity_type_id"] = array(
      'route_name' => "entity.$entity_type_id.rdf_ui_fields",
      'weight' => 2,
      'title' => $this->t('RDF Mappings'),
      'parent_id' => "field_ui.fields:overview_$entity_type_id",
    );

  }
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.