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

Author: Romain Ruaud ([email protected])
Afficher le fichier Open project: smile-sa/elasticsuite Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( Magento\Framework\Module\Manager $moduleManager, Magento\Store\Model\StoreManagerInterface $storeManager ) Visibility constructor.
isVisible ( Magento\Config\Model\Config\Structure\AbstractElement $element, string $scope ) : boolean Check a configuration element visibility

Method Details

__construct() public méthode

Visibility constructor.
public __construct ( Magento\Framework\Module\Manager $moduleManager, Magento\Store\Model\StoreManagerInterface $storeManager )
$moduleManager Magento\Framework\Module\Manager The module Manager
$storeManager Magento\Store\Model\StoreManagerInterface The store manager

isVisible() public méthode

Check a configuration element visibility
public isVisible ( Magento\Config\Model\Config\Structure\AbstractElement $element, string $scope ) : boolean
$element Magento\Config\Model\Config\Structure\AbstractElement The config composite element
$scope string The element scope
Résultat boolean