code: def _create_add_petabencana_layer_action(self):
          
          icon = resources_path('img', 'icons', 'add-petabencana-layer.svg')
          self.action_add_petabencana_layer = QAction(
              QIcon(icon),
              self.tr('Add PetaBencana Flood Layer'),
              self.iface.mainWindow())
          self.action_add_petabencana_layer.setStatusTip(self.tr(
              'Add PetaBencana Flood Layer'))
          self.action_add_petabencana_layer.setWhatsThis(self.tr(
              'Use this to add a PetaBencana layer to your map. '
              'It needs internet access to function.'))
          self.action_add_petabencana_layer.triggered.connect(
              self.add_petabencana_layer)
          self.add_action(
              self.action_add_petabencana_layer,
              add_to_toolbar=self.full_toolbar)
docs: Create action for import OSM Dialog.