public function getDefaultInstanceConfig($pluginName)
    {
        $blockConfig = $this->blockConfigRepository->findById($pluginName);

        if (empty($blockConfig)) {
            throw new \Exception('Block config not found for ' . $pluginName); //@TODO throw custom exception class
        }

        return $blockConfig->getDefaultConfig();
    }
public function getDefaultInstanceConfig($pluginName)
    {
        $blockConfig = $this->blockConfigRepository->findById($pluginName);

        if (empty($blockConfig)) {
            throw new \Exception('Block config not found for ' . $pluginName); //@TODO throw custom exception class
        }

        return $blockConfig->getDefaultConfig();
    }
public function getDefaultInstanceConfig ( $ pluginName ) { $ blockConfig = $ this -> blockConfigRepository -> findById ( $ pluginName ) ; if ( empty ( $ blockConfig ) ) { throw new \ Exception ( 'Block config not found for ' . $ pluginName ) ; //@TODO throw custom exception class } return $ blockConfig -> getDefaultConfig ( ) ; }
Default instance configs are NOT required anymore

@param string $pluginName the plugins module name

@return array
Default instance configs are NOT required anymore