public function ProductAttributeFieldManagerInterface::deleteField in Commerce Core 8.2
Deletes the attribute field for the given attribute.
Parameters
\Drupal\commerce_product\Entity\ProductAttributeInterface $attribute: The product attribute.
string $variation_type_id: The product variation type ID.
1 method overrides ProductAttributeFieldManagerInterface::deleteField()
- ProductAttributeFieldManager::deleteField in modules/
product/ src/ ProductAttributeFieldManager.php - Deletes the attribute field for the given attribute.
File
- modules/
product/ src/ ProductAttributeFieldManagerInterface.php, line 88
Class
- ProductAttributeFieldManagerInterface
- Manages attribute fields.
Namespace
Drupal\commerce_productCode
public function deleteField(ProductAttributeInterface $attribute, $variation_type_id);