Skip to content

Commit 10cbd25

Browse files
Merge pull request #14 from wieni/13-fix-deprecations
2 parents 0f6f98b + 80097c0 commit 10cbd25

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [1.10.1] - 2024-03-15
8+
### Fixed
9+
- Fix Drupal deprecations
10+
11+
## [1.10.0] - 2023-09-12
12+
### Added
13+
- Drupal 10 support
14+
715
## [1.9.5] - 2022-1-11
816
### Fixed
917
- Validate access on each submitted entity for bulk action

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
}
1111
],
1212
"require": {
13-
"php": ">=7.1.0",
14-
"drupal/core": "^9.1 || ^10"
13+
"php": ">=8.1",
14+
"drupal/core": "^10.1"
1515
},
1616
"require-dev": {
1717
"ergebnis/composer-normalize": "^2.0",

src/OverviewBuilder/OverviewBuilderManager.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
use Drupal\Core\Entity\EntityTypeManagerInterface;
77
use Drupal\Core\Extension\ModuleHandlerInterface;
88
use Drupal\Core\Plugin\DefaultPluginManager;
9+
use Drupal\Core\Utility\Error;
910
use Drupal\wmentity_overview\Annotation\OverviewBuilder;
1011
use Drupal\wmentity_overview\FilterStorage\FilterStorageManager;
1112
use Drupal\wmentity_overview\Plugin\Factory\OverviewBuilderPluginFactory;
@@ -142,7 +143,7 @@ protected function findDefinitions(): array
142143
} catch (\Exception $e) {
143144
// Catch the exception to prevent site install from failing
144145
// when the entity type in question is not yet installed.
145-
watchdog_exception('wmentity_overview', $e);
146+
Error::logException(\Drupal::logger('wmentity_overview'), $e);
146147
}
147148
}
148149

0 commit comments

Comments
 (0)