File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/Plugin/os2web/DataLookup Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
namespace Drupal \os2web_datalookup \Plugin \os2web \DataLookup ;
4
4
5
- use Drupal \Core \Extension \ExtensionPathResolver ;
6
5
use Drupal \Core \Form \FormStateInterface ;
7
6
8
7
/**
@@ -241,10 +240,10 @@ protected function getWsdlUrl() {
241
240
// Anything that's not an absolute path or url will be resolved relative to
242
241
// the location of the os2web_datalookup module.
243
242
if (!preg_match ('@^([a-z]+:/)?/@ ' , $ url )) {
244
- /** @var ExtensionPathResolver $extensionPathResolver */
243
+ /** @var \Drupal\Core\Extension\ ExtensionPathResolver $extensionPathResolver */
245
244
$ extensionPathResolver = \Drupal::service ('extension.path.resolver ' );
246
245
$ path = realpath ($ extensionPathResolver ->getPath ('module ' , 'os2web_datalookup ' ));
247
- $ url = 'file:// ' . $ path. '/ ' . $ url ;
246
+ $ url = 'file:// ' . $ path . '/ ' . $ url ;
248
247
}
249
248
return $ url ;
250
249
}
You can’t perform that action at this time.
0 commit comments