Skip to content
Snippets Groups Projects

Issue #3100732: Allow specifying `meta` data on JSON:API objects

Closed Björn Brala requested to merge issue/drupal-3100732:3100732-allow-specifying-meta into 10.1.x
4 files
+ 261
9
Compare changes
  • Side-by-side
  • Inline
Files
4
  • ac08f286
    Issue #3307230 by bbrala, catch, phenaproxima, Spokje: Backport RDF/views... · ac08f286
    catch authored
    Issue #3307230 by bbrala, catch, phenaproxima, Spokje: Backport RDF/views integration changes to 9.5.x
    
    (cherry picked from commit 3784f136)
@@ -119,15 +119,6 @@ public function render($row) {
if (!empty($node->rss_namespaces)) {
$this->view->style_plugin->namespaces = array_merge($this->view->style_plugin->namespaces, $node->rss_namespaces);
}
elseif (function_exists('rdf_get_namespaces')) {
// Merge RDF namespaces in the XML namespaces in case they are used
// further in the RSS content.
$xml_rdf_namespaces = [];
foreach (rdf_get_namespaces() as $prefix => $uri) {
$xml_rdf_namespaces['xmlns:' . $prefix] = $uri;
}
$this->view->style_plugin->namespaces += $xml_rdf_namespaces;
}
$item = new \stdClass();
if ($display_mode != 'title') {
Loading