Neos.Fusion/Classes/Core/Cache/RuntimeContentCache.php
protected function buildCacheTags(array $configuration, $fusionPath, $fusionObject)
    {
        $cacheTags = [];
        if (isset($configuration['entryTags'])) {
            foreach ($configuration['entryTags'] as $tagKey => $tagValue) {
                $tagValue = $this->runtime->evaluate($fusionPath . '/__meta/cache/entryTags/' . $tagKey, $fusionObject);
                if (is_array($tagValue)) {
                    $cacheTags = array_merge($cacheTags, $tagValue);
                } elseif ((string)$tagValue !== '') {
                    $cacheTags[] = $tagValue;
                }
            }
            foreach ($this->flushTags() as $tagKey => $tagValue) {
                $cacheTags[] = $tagValue;
            }
        } else {
            $cacheTags = [ContentCache::TAG_EVERYTHING];
        }
        return array_unique($cacheTags);
    }
protected function buildCacheTags(array $configuration, $fusionPath, $fusionObject)
    {
        $cacheTags = [];
        if (isset($configuration['entryTags'])) {
            foreach ($configuration['entryTags'] as $tagKey => $tagValue) {
                $tagValue = $this->runtime->evaluate($fusionPath . '/__meta/cache/entryTags/' . $tagKey, $fusionObject);
                if (is_array($tagValue)) {
                    $cacheTags = array_merge($cacheTags, $tagValue);
                } elseif ((string)$tagValue !== '') {
                    $cacheTags[] = $tagValue;
                }
            }
            foreach ($this->flushTags() as $tagKey => $tagValue) {
                $cacheTags[] = $tagValue;
            }
        } else {
            $cacheTags = [ContentCache::TAG_EVERYTHING];
        }
        return array_unique($cacheTags);
    }
protected function buildCacheTags ( array $ configuration , $ fusionPath , $ fusionObject ) { $ cacheTags = [ ] ; if ( isset ( $ configuration [ 'entryTags' ] ) ) { foreach ( $ configuration [ 'entryTags' ] as $ tagKey => $ tagValue ) { $ tagValue = $ this -> runtime -> evaluate ( $ fusionPath . '/__meta/cache/entryTags/' . $ tagKey , $ fusionObject ) ; if ( is_array ( $ tagValue ) ) { $ cacheTags = array_merge ( $ cacheTags , $ tagValue ) ; } elseif ( ( string ) $ tagValue !== '' ) { $ cacheTags [ ] = $ tagValue ; } } foreach ( $ this -> flushTags ( ) as $ tagKey => $ tagValue ) { $ cacheTags [ ] = $ tagValue ; } } else { $ cacheTags = [ ContentCache :: TAG_EVERYTHING ] ; } return array_unique ( $ cacheTags ) ; }
Builds an array of string which must be used as tags for the cache entry identifier of a specific cached content segment.

@param array $configuration
@param string $fusionPath
@param object $fusionObject The actual Fusion object
@return array
Builds an array of string which must be used as tags for the cache entry identifier of a specific cached content segment .