It looks like it has a dependency on Gmap which doesn't appear to be ported yet, so it's a multi-step port. I think @stpaultim's suggestion to post a port request in the queue is a good place to start.
The block system and API in Backdrop is very different from Drupal's. In Backdrop, as in Drupal, modules can define blocks in code (in fact some of the API at this level is the same, with...
Posted1 day 23 hours ago by Alejandro Cremaschi (argiepiano) on:
This was from examining line 2463- of the webform.module, where
// Attach necessary JavaScript and CSS.
$form['#attached'] = array(
'css' => array(backdrop_get_path('module', 'webform...
d'oh. Because of course it is reassigning. Don't mind me...
the correct syntax is
$form['#attached']['js'][] =
backdrop_get_path('module', 'mymodule') . '/mymodule.js';
I have confirmed, that using the method $form['#attached']['js'] stops the webform.js from loading.
https://docs.backdropcms.org/form_api#attached shows that this is the expected method of JS loading...
Comments
Have you tried it in Backdrop? It looks quite simple and may just work.
It has been suggested in this discussion, https://forum.backdropcms.org/forum-topic/where-make-request-drupal-modu... that you might post a module port request here:
https://github.com/backdrop-ops/contrib/issues (tag it "port request").
There are no guarantees, but I have seen items posted here get ported.
It looks like it has a dependency on Gmap which doesn't appear to be ported yet, so it's a multi-step port. I think @stpaultim's suggestion to post a port request in the queue is a good place to start.