diff --git a/.github/workflows/next.yml b/.github/workflows/next.yml index d760149b..d429706d 100644 --- a/.github/workflows/next.yml +++ b/.github/workflows/next.yml @@ -22,11 +22,17 @@ jobs: - "10.0.x" - "10.1.x" - "10.2.x" + - "10.3.x" + - "11.0.x" exclude: - drupal: "10.0.x" php: "8.3" - drupal: "10.1.x" php: "8.3" + - drupal: "11.0.x" + php: "8.1" + - drupal: "11.0.x" + php: "8.2" name: Drupal ${{ matrix.drupal }} - PHP ${{ matrix.php }} services: mysql: diff --git a/modules/next/.gitlab-ci.yml b/modules/next/.gitlab-ci.yml index 3a47a0cc..fbc21c1d 100644 --- a/modules/next/.gitlab-ci.yml +++ b/modules/next/.gitlab-ci.yml @@ -57,7 +57,6 @@ variables: OPT_IN_TEST_PREVIOUS_MINOR: 1 OPT_IN_TEST_NEXT_MINOR: 1 OPT_IN_TEST_NEXT_MAJOR: 1 - ################################################################################### # # * diff --git a/modules/next/next.services.yml b/modules/next/next.services.yml index 7434c773..e2628724 100644 --- a/modules/next/next.services.yml +++ b/modules/next/next.services.yml @@ -21,7 +21,7 @@ services: '@config.factory', '@plugin.manager.next.site_previewer', '@plugin.manager.next.preview_url_generator', - '@logger.channel.next' + '@logger.channel.next', ] next.preview_secret_generator: class: Drupal\next\PreviewSecretGenerator diff --git a/modules/next/src/Plugin/Next/SitePreviewer/Iframe.php b/modules/next/src/Plugin/Next/SitePreviewer/Iframe.php index 9b34ee88..9c902ab2 100644 --- a/modules/next/src/Plugin/Next/SitePreviewer/Iframe.php +++ b/modules/next/src/Plugin/Next/SitePreviewer/Iframe.php @@ -213,7 +213,7 @@ public function render(EntityInterface $entity, array $sites) { if ($entity instanceof RevisionableInterface && !$entity->isDefaultRevision()) { /** @var \Drupal\Core\Entity\RevisionableStorageInterface $entity_storage */ $entity_storage = $this->entityTypeManager->getStorage($entity->getEntityTypeId()); - $revsion = $entity_storage->loadRevision($entity->getRevisionId()); + $revision = $entity_storage->loadRevision($entity->getRevisionId()); $build['toolbar']['links']['#links']['status'] = [ 'title' => $this->t('Revision: @date', [