def METHOD_NAME(self, item, readonly=False):
    actions = 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_wmts',
            label=_('Convert to WMTS'),
            icon='glyphicon icon-l_wmts',
            url=self._request.route_url(
                'convert_to_wmts',
                id=getattr(item, self._id_field)),
            method='POST',
            confirmation=_('Are you sure you want to convert this layer to WMTS?')))
    return actions