Skip to content
Snippets Groups Projects
Commit db6eea09 authored by Project Update Bot's avatar Project Update Bot Committed by Nikolay Grachev
Browse files

Issue #3299520 by Project Update Bot, VinmayiSwamy, gaurav-mathur, Bushra...

Issue #3299520 by Project Update Bot, VinmayiSwamy, gaurav-mathur, Bushra Shaikh, Kristen Pol, Grienauer, criz: Automated Drupal 10 compatibility fixes
parent 9e2460d6
No related branches found
No related tags found
No related merge requests found
......@@ -191,9 +191,7 @@ class WorldMapBlock extends BlockBase {
'#theme' => 'worldmap',
'#config' => $config,
'#map_data' => $map_data,
'#module_url' => file_create_url(
drupal_get_path('module', 'worldmap')
),
'#module_url' => \Drupal::service('file_url_generator')->generateAbsoluteString(\Drupal::service('extension.list.module')->getPath('worldmap')),
'#plugin_id' => $this->getPluginId(),
'#attached' => [
'library' => [
......
name: World Map
type: module
description: 'Adds a configurable SVG-based World map as a block'
core_version_requirement: ^8.8 || ^9
core_version_requirement: ^9.3 || ^10
package: Worldmap
version: VERSION
......
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