Skip to content

Commit

Permalink
Merge pull request #123 from Sebobo/feature/fusionpath-in-entryidenti…
Browse files Browse the repository at this point in the history
…fiers

FEATURE: Show fusion path in entry identifier list
  • Loading branch information
Sebobo authored Dec 18, 2020
2 parents 8bc73c6 + 1cd856f commit 4e974ce
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Classes/Aspect/ContentCacheSegmentAspect.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ public function wrapDynamicSegment(JoinPointInterface $joinPoint): string
*/
public function interceptContentCacheEntryIdentifier(JoinPointInterface $joinPoint): string
{
$fusionPath = $joinPoint->getMethodArgument('fusionPath');
$cacheIdentifierValues = $joinPoint->getMethodArgument('cacheIdentifierValues');
$this->interceptedCacheEntryValues = [];

Expand All @@ -153,6 +154,7 @@ public function interceptContentCacheEntryIdentifier(JoinPointInterface $joinPoi
}

$result = $joinPoint->getAdviceChain()->proceed($joinPoint);
$this->interceptedCacheEntryValues['[fusionPath]'] = htmlspecialchars($fusionPath);
$this->interceptedCacheEntryValues['=> hashed identifier'] = $result;
return $result;
}
Expand Down
7 changes: 7 additions & 0 deletions Resources/Public/Style/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@
grid-gap: .2rem .5rem;
}

.t3n__content-cache-debug-table .object-values span {
max-width: 90%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

.t3n__content-cache-debug-table i {
font-style: normal;
font-weight: bold;
Expand Down

0 comments on commit 4e974ce

Please sign in to comment.