public function getDefaultConfiguration(BlockInterface $block)
    {
        /** @var GenerateFormInterface $strategy */
        foreach ($this->strategies as $strategy) {
            if ($strategy->support($block)) {
                return $strategy->getMergedDefaultConfiguration();
            }
        }

        throw new MissingGenerateFormStrategyException();
    }
public function getDefaultConfiguration(BlockInterface $block)
    {
        /** @var GenerateFormInterface $strategy */
        foreach ($this->strategies as $strategy) {
            if ($strategy->support($block)) {
                return $strategy->getMergedDefaultConfiguration();
            }
        }

        throw new MissingGenerateFormStrategyException();
    }
public function getDefaultConfiguration ( BlockInterface $ block ) { /** @var GenerateFormInterface $strategy */ foreach ( $ this -> strategies as $ strategy ) { if ( $ strategy -> support ( $ block ) ) { return $ strategy -> getMergedDefaultConfiguration ( ) ; } } throw new MissingGenerateFormStrategyException ( ) ; }
Get the default configuration for the block

@param BlockInterface $block

@throws MissingGenerateFormStrategyException

@return array
Get the default configuration for the block