def METHOD_NAME(self, item: LayerWMTS, readonly: bool = False) -> list[ItemAction]:
    actions: list[ItemAction] = super().METHOD_NAME(item, readonly)
    if inspect(item).persistent:
        actions.insert(
            next((i for i, v in enumerate(actions) if v.name() == "delete")),
            ItemAction(
                name="convert_to_wms",
                label=_("Convert to WMS"),
                icon="glyphicon icon-l_wmts",
                url=self._request.route_url("convert_to_wms", id=getattr(item, self._id_field)),
                method="POST",
                confirmation=_("Are you sure you want to convert this layer to WMS?"),
            ),
        )
    return actions