PHP Class Smile\ElasticsuiteCore\Model\Search\Request\RelevanceConfig\Structure\Element\Field

Author: Romain Ruaud ([email protected])
Inheritance: extends Magento\Config\Model\Config\Structure\Element\Field, implements Smile\ElasticsuiteCore\Model\Search\Request\RelevanceConfig\FieldInterface
Exibir arquivo Open project: smile-sa/elasticsuite

Public Methods

Method Description
__construct ( Magento\Store\Model\StoreManagerInterface $storeManager, Magento\Framework\Module\Manager $moduleManager, Magento\Config\Model\Config\BackendFactory $backendFactory, Magento\Config\Model\Config\SourceFactory $sourceFactory, Magento\Config\Model\Config\CommentFactory $commentFactory, Magento\Framework\View\Element\BlockFactory $blockFactory, Magento\Config\Model\Config\Structure\Element\Dependency\Mapper $dependencyMapper, Visibility $visibility ) Field constructor.
isVisible ( ) : boolean Check if the field is visible
showInContainer ( ) : boolean Check whether field should be shown in website scope

Method Details

__construct() public method

Field constructor.
public __construct ( Magento\Store\Model\StoreManagerInterface $storeManager, Magento\Framework\Module\Manager $moduleManager, Magento\Config\Model\Config\BackendFactory $backendFactory, Magento\Config\Model\Config\SourceFactory $sourceFactory, Magento\Config\Model\Config\CommentFactory $commentFactory, Magento\Framework\View\Element\BlockFactory $blockFactory, Magento\Config\Model\Config\Structure\Element\Dependency\Mapper $dependencyMapper, Visibility $visibility )
$storeManager Magento\Store\Model\StoreManagerInterface The store Manager
$moduleManager Magento\Framework\Module\Manager The module Manager
$backendFactory Magento\Config\Model\Config\BackendFactory The backend model factory
$sourceFactory Magento\Config\Model\Config\SourceFactory The source model factory
$commentFactory Magento\Config\Model\Config\CommentFactory The comment factory
$blockFactory Magento\Framework\View\Element\BlockFactory The block factory
$dependencyMapper Magento\Config\Model\Config\Structure\Element\Dependency\Mapper The dependency manager
$visibility Visibility The visibility manager

isVisible() public method

Check if the field is visible
public isVisible ( ) : boolean
return boolean

showInContainer() public method

Check whether field should be shown in website scope
public showInContainer ( ) : boolean
return boolean