src/Menu/MenuModulesInterpreter.php
protected function getConfiguredModulePresence(ModuleInterface $module)
    {
        if (    ! array_key_exists($module->getKey(), $this->configModules)
            ||  ! $this->configModules[ $module->getKey() ]
        ) {
            // @codeCoverageIgnoreStart
            return false;
            // @codeCoverageIgnoreEnd
        }

        return $this->configModules[ $module->getKey() ] ?: [];
    }
protected function getConfiguredModulePresence(ModuleInterface $module)
    {
        if (    ! array_key_exists($module->getKey(), $this->configModules)
            ||  ! $this->configModules[ $module->getKey() ]
        ) {
            // @codeCoverageIgnoreStart
            return false;
            // @codeCoverageIgnoreEnd
        }

        return $this->configModules[ $module->getKey() ] ?: [];
    }
protected function getConfiguredModulePresence ( ModuleInterface $ module ) { if ( ! array_key_exists ( $ module -> getKey ( ) , $ this -> configModules ) || ! $ this -> configModules [ $ module -> getKey ( ) ] ) { // @codeCoverageIgnoreStart return false ; // @codeCoverageIgnoreEnd } return $ this -> configModules [ $ module -> getKey ( ) ] ? : [ ] ; }
Returns raw presence configuration data, if an overriding custom presence was set.

@param ModuleInterface $module
@return array|false
Returns raw presence configuration data if an overriding custom presence was set .