29 private $availableAdapterPaths;
41 $availableAdapterPaths = [],
44 parent::__construct($context,
$data);
45 $this->scopeConfig = $scopeConfig;
46 $this->availableAdapterPaths = $availableAdapterPaths;
57 if ($adapterPath !== self::DEFAULT_EDITOR_PATH && !isset($this->availableAdapterPaths[$adapterPath])) {
const DEFAULT_EDITOR_PATH
escapeHtml($data, $allowedTags=null)
const WYSIWYG_EDITOR_CONFIG_PATH
__construct(Context $context, ScopeConfigInterface $scopeConfig, $availableAdapterPaths=[], array $data=[])