protected function getStyleTemplateName($identifier, $isInline)
    {
        if (!empty($this->customStylesConfiguration[$identifier]['template'])) {
            return $this->customStylesConfiguration[$identifier]['template'];
        }

        $this->logger->warning(
            "Template style '{$identifier}' configuration was not found"
        );

        if ($isInline) {
            $configurationReference = $this->styleConfigurationNamespace . '.default_inline';
        } else {
            $configurationReference = $this->styleConfigurationNamespace . '.default';
        }

        if ($this->configResolver->hasParameter($configurationReference)) {
            $configuration = $this->configResolver->getParameter($configurationReference);

            return $configuration['template'];
        }

        $this->logger->warning(
            "Template style '{$identifier}' default configuration was not found"
        );

        return null;
    }
protected function getStyleTemplateName($identifier, $isInline)
    {
        if (!empty($this->customStylesConfiguration[$identifier]['template'])) {
            return $this->customStylesConfiguration[$identifier]['template'];
        }

        $this->logger->warning(
            "Template style '{$identifier}' configuration was not found"
        );

        if ($isInline) {
            $configurationReference = $this->styleConfigurationNamespace . '.default_inline';
        } else {
            $configurationReference = $this->styleConfigurationNamespace . '.default';
        }

        if ($this->configResolver->hasParameter($configurationReference)) {
            $configuration = $this->configResolver->getParameter($configurationReference);

            return $configuration['template'];
        }

        $this->logger->warning(
            "Template style '{$identifier}' default configuration was not found"
        );

        return null;
    }
protected function getStyleTemplateName ( $ identifier , $ isInline ) { if ( ! empty ( $ this -> customStylesConfiguration [ $ identifier ] [ 'template' ] ) ) { return $ this -> customStylesConfiguration [ $ identifier ] [ 'template' ] ; } $ this -> logger -> warning ( "Template style '{$identifier}' configuration was not found" ) ; if ( $ isInline ) { $ configurationReference = $ this -> styleConfigurationNamespace . '.default_inline' ; } else { $ configurationReference = $ this -> styleConfigurationNamespace . '.default' ; } if ( $ this -> configResolver -> hasParameter ( $ configurationReference ) ) { $ configuration = $ this -> configResolver -> getParameter ( $ configurationReference ) ; return $ configuration [ 'template' ] ; } $ this -> logger -> warning ( "Template style '{$identifier}' default configuration was not found" ) ; return null ; }
Returns configured template name for the given Custom Style identifier.

@param string $identifier
@param bool $isInline

@return null|string
Returns configured template name for the given Custom Style identifier .