Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • 2.x
  • 3.x
  • 7.x-1.x
  • 8.x-1.x
  • entity_rdf
  • master
  • 0.1.0
  • 0.2.0
  • 1.0.0
  • 1.1.0
  • 2.0.0
  • 2.1.0
  • 2.1.1
  • 2.1.2
  • 2.1.3
  • 2.2.0
  • 3.0.1
  • 3.0.2
  • 3.0.3
  • 3.0.4
  • 8.x-0.1
  • 8.x-0.2
  • 8.x-1.0
  • 8.x-1.1
24 results

Target

Select target project
  • project/jsonld
  • issue/jsonld-3431490
  • issue/jsonld-3493364
3 results
Select Git revision
  • 2.x
  • 3.x
  • 3493364-runtime-error-after
  • 7.x-1.x
  • 8.x-1.x
  • entity_rdf
  • master
  • 0.1.0
  • 0.2.0
  • 1.0.0
  • 1.1.0
  • 2.0.0
  • 2.1.0
  • 2.1.1
  • 2.1.2
  • 2.1.3
  • 2.2.0
  • 3.0.1
  • 3.0.2
  • 8.x-0.1
  • 8.x-0.2
  • 8.x-1.0
  • 8.x-1.1
23 results
Show changes
Commits on Source (2)
remove_jsonld_format: false
rdf_namespaces: []
<?php
/**
* @file
* Post-update hook implementations.
*/
/**
* Ensure `rdf_namespaces` exists.
*/
function jsonld_post_update_ensure_rdf_namespaces_exists() : void {
$config = \Drupal::configFactory()->getEditable('jsonld.settings');
if ($config->get('rdf_namespaces') === NULL) {
$config->set('rdf_namespaces', [])->save();
}
}
<?php
namespace Drupal\Jsonld;
namespace Drupal\jsonld;
use Drupal\Core\DependencyInjection\ContainerBuilder;
use Drupal\Core\DependencyInjection\ServiceModifierInterface;
......