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-ui
Component
Form
Element
UrlInput.php
Go to the documentation of this file.
1
<?php
7
declare(strict_types=1);
8
9
namespace
Magento\Ui\Component\Form\Element
;
10
14
class
UrlInput
extends
\Magento\Ui\Component\Form\Element\AbstractElement
15
{
16
const
NAME
=
'urlInput'
;
17
23
public
function
getComponentName
(): string
24
{
25
return
static::NAME;
26
}
27
31
public
function
prepare
(): void
32
{
33
$config
= $this->
getData
(
'config'
);
34
//process urlTypes
35
if
(isset(
$config
[
'urlTypes'
])) {
36
$links
=
$config
[
'urlTypes'
]->getConfig();
37
$config
[
'urlTypes'
] =
$links
;
38
}
39
$this->
setData
(
'config'
, (array)
$config
);
40
parent::prepare();
41
}
42
}
Magento\Ui\Component\AbstractComponent\getData
getData($key='', $index=null)
Definition:
AbstractComponent.php:264
$config
$config
Definition:
fraud_order.php:17
Magento\Ui\Component\Form\Element\UrlInput\NAME
const NAME
Definition:
UrlInput.php:16
Magento\Ui\Component\AbstractComponent\setData
setData($key, $value=null)
Definition:
AbstractComponent.php:252
$links
$links
Definition:
downloadable_product_with_files_and_sample_url.php:39
Magento\Ui\Component\Form\Element\UrlInput\prepare
prepare()
Definition:
UrlInput.php:31
Magento\Ui\Component\Form\Element\UrlInput
Definition:
UrlInput.php:14
Magento\Ui\Component\Form\Element\UrlInput\getComponentName
getComponentName()
Definition:
UrlInput.php:23
Magento\Ui\Component\Form\Element
Definition:
AbstractElement.php:6