![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/magento/module-eav/Block/Adminhtml/Attribute/Edit/ |
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Eav\Block\Adminhtml\Attribute\Edit; /** * Eav Attribute Block with additional js scripts in template * * @author Magento Core Team <[email protected]> */ class Js extends \Magento\Backend\Block\Template { /** * Js template * * @var string */ protected $_template = 'Magento_Eav::attribute/edit/js.phtml'; /** * @var \Magento\Eav\Model\Adminhtml\System\Config\Source\Inputtype */ private $inputtype; /** * {@inheritdoc} */ public function __construct( \Magento\Backend\Block\Template\Context $context, \Magento\Eav\Model\Adminhtml\System\Config\Source\Inputtype $inputtype, array $data = [] ) { $this->inputtype = $inputtype; parent::__construct($context, $data); } /** * @deprecated 102.0.0 Misspelled method * @see getCompatibleInputTypes */ public function getComaptibleInputTypes() { return $this->getCompatibleInputTypes(); } /** * Get compatible input types. * * @return array */ public function getCompatibleInputTypes() { return $this->inputtype->getVolatileInputTypes(); } /** * Get hints on input types. * * @return array */ public function getInputTypeHints() { return $this->inputtype->getInputTypeHints(); } }