We use plugin/preference to extend/rewrite core class functionality.

How I can print list of all custom module classes which has rewritten core classes in custom extensions?


This should help

Magento 2: get a list of all plugins (interceptors) and preferences

You may add some filters for your custom module inside the conditions.

echo "<pre>";
    $modulePlugin = array();
    foreach($this->_data as $plugin){
        foreach($plugin as $key => $pluginValue){
            if (strpos($pluginValue['instance'], 'YOUR.MODULE.NAME') !== false) {
                $modulePlugin[$key] = $pluginValue;

And the same for preference.

|improve this answer|||||

Not the answer you're looking for? Browse other questions tagged or ask your own question.