FluidTYPO3\Flux\Controller\AbstractFluxController::initializeProvider PHP Method

initializeProvider() protected method

protected initializeProvider ( ) : void
return void
    protected function initializeProvider()
    {
        $row = $this->getRecord();
        $table = $this->getFluxTableName();
        $field = $this->getFluxRecordField();
        $this->provider = $this->configurationService->resolvePrimaryConfigurationProvider($table, $field, $row);
        if (NULL === $this->provider) {
            throw new \RuntimeException('Unable to resolve a ConfigurationProvider, but controller indicates it is a Flux-enabled Controller - ' . 'this is a grave error and indicates that EXT: ' . $this->extensionName . ' itself is broken - or that EXT:' . $this->extensionName . ' has been overridden by another implementation which is broken. The controller that ' . 'caused this error was ' . get_class($this) . '".', 1377458581);
        }
    }