Log in
Model

Plugin

Magento\ConfigurableProduct\Model\Product\Type\Plugin

What it does

This plugin class intercepts the product type option array to conditionally remove the configurable product type from the list of available product types.

Developers would encounter this when configurable product functionality is disabled at the module level, ensuring configurable products don't appear as an option in admin dropdowns or product type selectors.

Public Methods

  • afterGetOptionArray()