Allows to display custom tabs on the Product Details page in the Administration Area.
The event handler should accept two parameters - the controller object and the product object.
The handler should return an associative array of tab titles and corresponding tab partials.
public function subscribeEvents()
{
Backend::$events->addEvent('shop:onExtendProductPreviewTabs', $this, 'extend_product_details_tabs');
}
public function extend_product_details_tabs($controller, $product)
{
return array(
'My tab caption' => 'modules/my_module/partials/_my_partial.htm',
'Second custom tab' => 'modules/my_module/partials/_another_partial.htm'
);
}