Set area for product form templates

This commit is contained in:
Matt Sherman 2023-09-12 16:52:18 -04:00
parent 4114d16383
commit b2aa1c18f3
1 changed files with 7 additions and 0 deletions

View File

@ -9,6 +9,13 @@ use Automattic\WooCommerce\Internal\Admin\BlockTemplates\AbstractBlockTemplate;
* Block template class. * Block template class.
*/ */
abstract class AbstractProductFormTemplate extends AbstractBlockTemplate implements ProductFormTemplateInterface { abstract class AbstractProductFormTemplate extends AbstractBlockTemplate implements ProductFormTemplateInterface {
/**
* Get the template area.
*/
public function get_area(): string {
return 'product-form';
}
/** /**
* Get a group block by ID. * Get a group block by ID.
* *