src/Contao/View/Contao2BackendView/ActionHandler/MultipleHandler/SelectPropertyAllHandler.php
private function isPropertyAllowedByIntersectProperties(
        PropertyInterface $property,
        EnvironmentInterface $environment
    ) {
        $sessionStorage = $environment->getSessionStorage();
        $inputProvider  = $environment->getInputProvider();
        $dataDefinition = $environment->getDataDefinition();

        $session = $sessionStorage->get($dataDefinition->getName() . '.' . $inputProvider->getParameter('mode'));

        return \array_key_exists($property->getName(), $session['intersectProperties']);
    }
private function isPropertyAllowedByIntersectProperties(
        PropertyInterface $property,
        EnvironmentInterface $environment
    ) {
        $sessionStorage = $environment->getSessionStorage();
        $inputProvider  = $environment->getInputProvider();
        $dataDefinition = $environment->getDataDefinition();

        $session = $sessionStorage->get($dataDefinition->getName() . '.' . $inputProvider->getParameter('mode'));

        return \array_key_exists($property->getName(), $session['intersectProperties']);
    }
private function isPropertyAllowedByIntersectProperties ( PropertyInterface $ property , EnvironmentInterface $ environment ) { $ sessionStorage = $ environment -> getSessionStorage ( ) ; $ inputProvider = $ environment -> getInputProvider ( ) ; $ dataDefinition = $ environment -> getDataDefinition ( ) ; $ session = $ sessionStorage -> get ( $ dataDefinition -> getName ( ) . '.' . $ inputProvider -> getParameter ( 'mode' ) ) ; return \ array_key_exists ( $ property -> getName ( ) , $ session [ 'intersectProperties' ] ) ; }
Is property allowed by intersect properties.

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

@return bool
Is property allowed by intersect properties .