Skip to content
Snippets Groups Projects
Commit 5696bae7 authored by project update bot's avatar project update bot Committed by Daniel Cothran
Browse files

Issue #3429911 by Project Update Bot: Automated Drupal 11 compatibility fixes...

Issue #3429911 by Project Update Bot: Automated Drupal 11 compatibility fixes for domain_access_search_api
parent 0fcc5ece
No related branches found
Tags 1.0.4
1 merge request!7Automated Project Update Bot fixes
Pipeline #204999 passed with warnings
......@@ -2,7 +2,7 @@ name: Domain Access Search API
description: 'Creates a Views filter to filter by domain'
type: module
package: Domain
core_version_requirement: ^8.8 || ^9 || ^10
core_version_requirement: ^10.1 || ^11
dependencies:
- search_api:search_api
- domain:domain
......@@ -36,7 +36,7 @@ function domain_access_search_api_views_data_alter(array &$data) {
$args = [
'%index' => $index->label(),
];
watchdog_exception('search_api', $e, '%type while computing Views data for index %index: @message in %function (line %line of %file).', $args);
\Drupal\Component\Utility\DeprecationHelper::backwardsCompatibleCall(\Drupal::VERSION, '10.1.0', fn() => \Drupal\Core\Utility\Error::logException(\Drupal::logger('search_api'), $e, '%type while computing Views data for index %index: @message in %function (line %line of %file).', $args), fn() => watchdog_exception('search_api', $e, '%type while computing Views data for index %index: @message in %function (line %line of %file).', $args));
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment