src/Graviton/I18nBundle/Listener/I18nRqlParsingListener.php
private function nodeFieldNameHasLanguage()
    {
        $parts = explode('.', $this->node->getField());
        if (!empty($parts)) {
            $lastPart = $parts[count($parts) - 1];
            // only remove when language
            if (in_array($lastPart, $this->intUtils->getLanguages())) {
                return true;
            }
        }
        return false;
    }
private function nodeFieldNameHasLanguage()
    {
        $parts = explode('.', $this->node->getField());
        if (!empty($parts)) {
            $lastPart = $parts[count($parts) - 1];
            // only remove when language
            if (in_array($lastPart, $this->intUtils->getLanguages())) {
                return true;
            }
        }
        return false;
    }
private function nodeFieldNameHasLanguage ( ) { $ parts = explode ( '.' , $ this -> node -> getField ( ) ) ; if ( ! empty ( $ parts ) ) { $ lastPart = $ parts [ count ( $ parts ) - 1 ] ; // only remove when language if ( in_array ( $ lastPart , $ this -> intUtils -> getLanguages ( ) ) ) { return true ; } } return false ; }
if the node field name targets a language or not

@return bool true if yes, false otherwise
if the node field name targets a language or not