Skip to content
Snippets Groups Projects
Commit 3a3335c2 authored by Soliman Harkas's avatar Soliman Harkas Committed by David Galeano
Browse files

Issue #3331016: Coffee module is broken after enable json_ld_schema_ui module

parent 595e0fd2
No related branches found
Tags 1.0.1
1 merge request!6Issue #3331016: Coffee module is broken after enable json_ld_schema_ui module
......@@ -66,6 +66,9 @@ class JsonLdUiLocalTask extends DeriverBase implements ContainerDeriverInterface
foreach ($this->entityTypeManager->getDefinitions() as $entity_type_id => $entity_type) {
if ($base_route = $entity_type->get('field_ui_base_route')) {
if (!$entity_type->getBundleEntityType()) {
continue;
}
$this->derivatives["json_ld_list_$entity_type_id"] = [
'title' => $this->t('Manage JSON LD schema'),
'route_name' => "entity.$entity_type_id.json_ld_schema_ui",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment