Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-tinymce-3
Model
Config
Gallery
Config.php
Go to the documentation of this file.
1
<?php
6
declare(strict_types=1);
7
8
namespace
Magento\Tinymce3\Model\Config\Gallery
;
9
15
class
Config
implements
\Magento\Framework\Data\Wysiwyg\ConfigProviderInterface
16
{
20
private
$backendUrl;
21
25
public
function
__construct
(
26
\
Magento
\Backend\Model\UrlInterface $backendUrl
27
) {
28
$this->backendUrl = $backendUrl;
29
}
30
37
public
function
getConfig
(\
Magento
\Framework\DataObject
$config
) : \
Magento
\Framework\DataObject
38
{
39
$config
->addData(
40
[
41
'add_images'
=>
true
,
42
'files_browser_window_url'
=> $this->backendUrl->getUrl(
'cms/wysiwyg_images/index'
),
43
]
44
);
45
46
return
$config
;
47
}
48
}
Magento\Tinymce3\Model\Config\Gallery\Config
Definition:
Config.php:15
$config
$config
Definition:
fraud_order.php:17
Magento\Framework\Data\Wysiwyg\ConfigProviderInterface
Definition:
ConfigProviderInterface.php:14
Magento
Magento\Tinymce3\Model\Config\Gallery\Config\getConfig
getConfig(\Magento\Framework\DataObject $config)
Definition:
Config.php:37
Magento\Tinymce3\Model\Config\Gallery
Definition:
Config.php:8
Magento\Tinymce3\Model\Config\Gallery\Config\__construct
__construct(\Magento\Backend\Model\UrlInterface $backendUrl)
Definition:
Config.php:25