Skip to content

Commit

Permalink
Updating github workflow to include 11.0.x and fix the prettier issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
apathak18 committed Jul 15, 2024
1 parent a216cd3 commit a82ffa6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 0 additions & 1 deletion modules/next/.gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ variables:
OPT_IN_TEST_PREVIOUS_MINOR: 1
OPT_IN_TEST_NEXT_MINOR: 1
OPT_IN_TEST_NEXT_MAJOR: 1

###################################################################################
#
# *
Expand Down
2 changes: 1 addition & 1 deletion modules/next/next.services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion modules/next/src/Plugin/Next/SitePreviewer/Iframe.php
Original file line number Diff line number Diff line change
Expand Up @@ -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', [
Expand Down

0 comments on commit a82ffa6

Please sign in to comment.