diff --git a/core/modules/page/lib/Drupal/page/PageListController.php b/core/modules/page/lib/Drupal/page/PageListController.php index e9b3dde..a6e91d5 100644 --- a/core/modules/page/lib/Drupal/page/PageListController.php +++ b/core/modules/page/lib/Drupal/page/PageListController.php @@ -42,7 +42,11 @@ public function buildHeader() { */ public function buildRow(EntityInterface $entity) { $row['label'] = $entity->label(); - $row['paths'] = nl2br(check_plain($entity->paths)); + $paths = nl2br(check_plain($entity->paths)); + if (empty($entity->visibility)) { + $paths = t('Except: !paths', array('!paths' => '
' . $paths)); + } + $row['paths'] = $paths; $operations = $this->buildOperations($entity); $row['operations']['data'] = $operations; return $row;