|
|
@ -91,11 +91,11 @@ class JsonldTypeAlterReaction extends NormalizerAlterReaction { |
|
|
|
'#type' => 'select', |
|
|
|
'#type' => 'select', |
|
|
|
'#title' => $this->t('Field containing RDF type information'), |
|
|
|
'#title' => $this->t('Field containing RDF type information'), |
|
|
|
'#options' => $options, |
|
|
|
'#options' => $options, |
|
|
|
'#description' => $this->t("In JSON-LD representations, allow the rdf:type to vary |
|
|
|
'#description' => $this->t("Use a field to determine the rdf:type. <br/><br/> |
|
|
|
based on the value of a field. <br /><strong>Note:</strong> The field selected |
|
|
|
In JSON-LD representations, the @type attribute (shorthand for rdf:type) will |
|
|
|
here must be an Entity reference field and its allowable targets must have |
|
|
|
be populated from the value of this field, rather than the default for the bundle |
|
|
|
field_external_uri. The value of the URL component of field_external_uri in the |
|
|
|
as configured in the bundle's RDF mapping. If this field is an entity reference |
|
|
|
referenced entity will be used as rdf:type for entities selected by this context."), |
|
|
|
field, the value of the referenced entity's `field_external_uri` will be used."), |
|
|
|
'#default_value' => isset($config['source_field']) ? $config['source_field'] : '', |
|
|
|
'#default_value' => isset($config['source_field']) ? $config['source_field'] : '', |
|
|
|
]; |
|
|
|
]; |
|
|
|
return $form; |
|
|
|
return $form; |
|
|
|