protected function getRouteParameters(PickerConfig $config = null): array
    {
        $params = ['do' => 'faq'];

        if (null === $config || !$config->getValue() || false === strpos($config->getValue(), '{{faq_url::')) {
            return $params;
        }

        $value = str_replace(['{{faq_url::', '}}'], '', $config->getValue());

        if (null !== ($faqId = $this->getFaqCategoryId($value))) {
            $params['table'] = 'tl_faq';
            $params['id'] = $faqId;
        }

        return $params;
    }
protected function getRouteParameters(PickerConfig $config = null): array
    {
        $params = ['do' => 'faq'];

        if (null === $config || !$config->getValue() || false === strpos($config->getValue(), '{{faq_url::')) {
            return $params;
        }

        $value = str_replace(['{{faq_url::', '}}'], '', $config->getValue());

        if (null !== ($faqId = $this->getFaqCategoryId($value))) {
            $params['table'] = 'tl_faq';
            $params['id'] = $faqId;
        }

        return $params;
    }
protected function getRouteParameters ( PickerConfig $ config = null ) : array { $ params = [ 'do' => 'faq' ] ; if ( null === $ config || ! $ config -> getValue ( ) || false === strpos ( $ config -> getValue ( ) , '{{faq_url::' ) ) { return $ params ; } $ value = str_replace ( [ '{{faq_url::' , '}}' ] , '' , $ config -> getValue ( ) ) ; if ( null !== ( $ faqId = $ this -> getFaqCategoryId ( $ value ) ) ) { $ params [ 'table' ] = 'tl_faq' ; $ params [ 'id' ] = $ faqId ; } return $ params ; }
{@inheritdoc}
{