| Current Path : /home/rtorresani/www/vendor/magento/module-ui/Component/Form/Element/ |
| Current File : //home/rtorresani/www/vendor/magento/module-ui/Component/Form/Element/AbstractElement.php |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Ui\Component\Form\Element;
use Magento\Ui\Component\AbstractComponent;
/**
* Class AbstractElement
*
* @api
* @since 100.0.2
*/
abstract class AbstractElement extends AbstractComponent implements ElementInterface
{
/**
* @return string
*/
public function getHtmlId()
{
return '';
}
/**
* @return string|int
*/
public function getValue()
{
return $this->getData('value');
}
/**
* @return string
*/
public function getFormInputName()
{
return $this->getData('input_name');
}
/**
* @return bool
*/
public function isReadonly()
{
return (bool) $this->getData('readonly');
}
/**
* @return string
*/
public function getCssClasses()
{
return $this->getData('css_classes');
}
}