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