Skip to content

Commit

Permalink
add official support of drupal 11.1
Browse files Browse the repository at this point in the history
  • Loading branch information
WengerK committed Feb 14, 2025
1 parent 574f0e5 commit 9292906
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:

strategy:
matrix:
drupal_version: ['9.5', '10.0', '10.1', '10.2', '10.3', '11.0']
drupal_version: ['9.5', '10.0', '10.1', '10.2', '10.3', '10.4', '11.0', '11.1']
module: ['template_whisperer']
experimental: [ false ]
include:
- drupal_version: '11.1'
- drupal_version: '11.2'
module: 'template_whisperer'
experimental: true

Expand All @@ -43,11 +43,11 @@ jobs:

strategy:
matrix:
drupal_version: ['9.5', '10.0', '10.1', '10.2', '10.3', '11.0']
drupal_version: ['9.5', '10.0', '10.1', '10.2', '10.3', '10.4', '11.0', '11.1']
module: ['template_whisperer']
experimental: [ false ]
include:
- drupal_version: '11.1'
- drupal_version: '11.2'
module: 'template_whisperer'
experimental: true

Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:

strategy:
matrix:
drupal_version: ['9.5']
drupal_version: ['10.4']
module: ['template_whisperer']

steps:
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Added
- add official support of drupal 11.1

## [4.0.2] - 2024-08-09
### Added
Expand Down
2 changes: 1 addition & 1 deletion inc/access.inc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use Drupal\Core\Session\AccountInterface;
*
* Asserts that Template Whisperer fields aren't edited by those who shouldn't.
*/
function template_whisperer_entity_field_access($operation, FieldDefinitionInterface $field_definition, AccountInterface $account, FieldItemListInterface $items = NULL) {
function template_whisperer_entity_field_access($operation, FieldDefinitionInterface $field_definition, AccountInterface $account, ?FieldItemListInterface $items = NULL) {
// Check access only for Template Whisperer field.
if ($field_definition->getType() != 'template_whisperer') {
return AccessResult::neutral();
Expand Down

0 comments on commit 9292906

Please sign in to comment.