I have the below code for a Action column option:
$item[$name]['view'] = [
'href' => 'www.google.co.uk',
'target' => '_blank'
),
'label' => __('View')
];
What I'm trying to do is add an external URL to an action column such as google.co.uk. It should open a new tab and displays Google's home page.
Currently, the code provided appends www.google.co.uk to the Magento page URL.
Could you please let me know where I'm going wrong?
Thank you.