* @link https://www.oxidmodule.com */ declare(strict_types=1); namespace O3\TinyMCE\Application\Core\TinyMCE\Plugins; use OxidEsales\Eshop\Core\Registry; class Legacyoutput extends AbstractPlugin { public function getPluginName(): string { return 'legacyoutput'; } public function requireRegistration(): bool { return strtolower(Registry::getConfig()->getActiveView()->getClassKey()) === 'newsletter_main'; } }