src/View/ActionHandler/AbstractPropertyVisibilityHandler.php
private function excludePaletteSelectorProperty(
        Action $action,
        PropertyInterface $property,
        EnvironmentInterface $environment
    ) {
        $palettesDefinition = $environment->getDataDefinition()->getPalettesDefinition();

        if (1 === \count($palettesDefinition->getPalettes())) {
            return false;
        }

        return $this->analyzeExcludeProperty($action, $environment, $property, $palettesDefinition);
    }
private function excludePaletteSelectorProperty(
        Action $action,
        PropertyInterface $property,
        EnvironmentInterface $environment
    ) {
        $palettesDefinition = $environment->getDataDefinition()->getPalettesDefinition();

        if (1 === \count($palettesDefinition->getPalettes())) {
            return false;
        }

        return $this->analyzeExcludeProperty($action, $environment, $property, $palettesDefinition);
    }
private function excludePaletteSelectorProperty ( Action $ action , PropertyInterface $ property , EnvironmentInterface $ environment ) { $ palettesDefinition = $ environment -> getDataDefinition ( ) -> getPalettesDefinition ( ) ; if ( 1 === \ count ( $ palettesDefinition -> getPalettes ( ) ) ) { return false ; } return $ this -> analyzeExcludeProperty ( $ action , $ environment , $ property , $ palettesDefinition ) ; }
Excluded the palette selector property.

@param Action               $action      The action.
@param PropertyInterface    $property    The property.
@param EnvironmentInterface $environment The environment.

@return bool
Excluded the palette selector property .