Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
add_to_calendar
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
add_to_calendar
Compare revisions
project-update-bot-only to 1.x
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
project/add_to_calendar
Select target project
No results found
1.x
Select Git revision
Swap
Target
issue/add_to_calendar-3428734
Select target project
project/add_to_calendar
issue/add_to_calendar-3334453
issue/add_to_calendar-3333938
issue/add_to_calendar-3428734
4 results
project-update-bot-only
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (1)
Issue
#3428734
: Automated Drupal 11 compatibility fixes for add_to_calendar
· dd65f01f
project update bot
authored
2 months ago
and
Pedro Cambra
committed
2 months ago
dd65f01f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
add_to_calendar.info.yml
+1
-1
1 addition, 1 deletion
add_to_calendar.info.yml
src/Plugin/Field/FieldFormatter/AddToCalendarFormatter.php
+1
-1
1 addition, 1 deletion
src/Plugin/Field/FieldFormatter/AddToCalendarFormatter.php
with
2 additions
and
2 deletions
add_to_calendar.info.yml
View file @
dd65f01f
name
:
"
Add
to
calendar"
description
:
"
Provides
a
computed
field
for
displaying
add
to
calendar
links."
type
:
module
core_version_requirement
:
^
9
|| ^1
0
core_version_requirement
:
^
10.1
|| ^1
1
dependencies
:
-
drupal:datetime_range
This diff is collapsed.
Click to expand it.
src/Plugin/Field/FieldFormatter/AddToCalendarFormatter.php
View file @
dd65f01f
...
...
@@ -149,7 +149,7 @@ class AddToCalendarFormatter extends FormatterBase implements ContainerFactoryPl
];
}
catch
(
\Exception
$e
)
{
watchdog_exception
(
'add_to_calendar'
,
$e
);
\Drupal\Component\Utility\DeprecationHelper
::
backwardsCompatibleCall
(
\Drupal
::
VERSION
,
'10.1.0'
,
fn
()
=>
\Drupal\Core\Utility\Error
::
logException
(
\Drupal
::
logger
(
'add_to_calendar'
),
$e
),
fn
()
=>
watchdog_exception
(
'add_to_calendar'
,
$e
)
)
;
}
}
}
...
...
This diff is collapsed.
Click to expand it.