Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • project/recurring_events
  • issue/recurring_events-3183502
  • issue/recurring_events-3183463
  • issue/recurring_events-3183483
  • issue/recurring_events-3190526
  • issue/recurring_events-3191715
  • issue/recurring_events-3190833
  • issue/recurring_events-3188808
  • issue/recurring_events-3180479
  • issue/recurring_events-3122823
  • issue/recurring_events-3196649
  • issue/recurring_events-3196428
  • issue/recurring_events-3196702
  • issue/recurring_events-3196704
  • issue/recurring_events-3198532
  • issue/recurring_events-3164409
  • issue/recurring_events-3206960
  • issue/recurring_events-3115678
  • issue/recurring_events-3218496
  • issue/recurring_events-3207435
  • issue/recurring_events-3219082
  • issue/recurring_events-3217367
  • issue/recurring_events-3229514
  • issue/recurring_events-3231841
  • issue/recurring_events-3238591
  • issue/recurring_events-3282502
  • issue/recurring_events-3283128
  • issue/recurring_events-3240862
  • issue/recurring_events-3247034
  • issue/recurring_events-3071679
  • issue/recurring_events-3264621
  • issue/recurring_events-3266436
  • issue/recurring_events-3268690
  • issue/recurring_events-3269555
  • issue/recurring_events-3271328
  • issue/recurring_events-3272361
  • issue/recurring_events-3163804
  • issue/recurring_events-3297681
  • issue/recurring_events-3299575
  • issue/recurring_events-3300786
  • issue/recurring_events-3302916
  • issue/recurring_events-3304286
  • issue/recurring_events-3298679
  • issue/recurring_events-3309652
  • issue/recurring_events-3310360
  • issue/recurring_events-3311843
  • issue/recurring_events-3311712
  • issue/recurring_events-3312003
  • issue/recurring_events-3312084
  • issue/recurring_events-3312242
  • issue/recurring_events-3316080
  • issue/recurring_events-3295367
  • issue/recurring_events-3196417
  • issue/recurring_events-3309859
  • issue/recurring_events-3318590
  • issue/recurring_events-3244975
  • issue/recurring_events-3318998
  • issue/recurring_events-3321269
  • issue/recurring_events-3320512
  • issue/recurring_events-3321235
  • issue/recurring_events-3321550
  • issue/recurring_events-3322998
  • issue/recurring_events-3315836
  • issue/recurring_events-3324055
  • issue/recurring_events-3328907
  • issue/recurring_events-3318490
  • issue/recurring_events-3339288
  • issue/recurring_events-3345618
  • issue/recurring_events-3347935
  • issue/recurring_events-3362297
  • issue/recurring_events-3359696
  • issue/recurring_events-3318666
  • issue/recurring_events-3366907
  • issue/recurring_events-3366910
  • issue/recurring_events-3403064
  • issue/recurring_events-3404311
  • issue/recurring_events-3405567
  • issue/recurring_events-3376639
  • issue/recurring_events-3384836
  • issue/recurring_events-3382387
  • issue/recurring_events-3384389
  • issue/recurring_events-3315503
  • issue/recurring_events-3411229
  • issue/recurring_events-3415222
  • issue/recurring_events-3415308
  • issue/recurring_events-3172514
  • issue/recurring_events-3419694
  • issue/recurring_events-3178696
  • issue/recurring_events-3408924
  • issue/recurring_events-3447130
  • issue/recurring_events-3416436
  • issue/recurring_events-3451613
  • issue/recurring_events-3452632
  • issue/recurring_events-3453086
  • issue/recurring_events-3452641
  • issue/recurring_events-3454012
  • issue/recurring_events-3455716
  • issue/recurring_events-3456300
  • issue/recurring_events-3456641
  • issue/recurring_events-3462327
  • issue/recurring_events-3463467
  • issue/recurring_events-3463979
  • issue/recurring_events-3462480
  • issue/recurring_events-3464792
  • issue/recurring_events-3456045
  • issue/recurring_events-3468300
  • issue/recurring_events-3468521
  • issue/recurring_events-3475611
  • issue/recurring_events-3477247
  • issue/recurring_events-3477047
  • issue/recurring_events-3477650
  • issue/recurring_events-3257502
  • issue/recurring_events-3090186
  • issue/recurring_events-3478802
  • issue/recurring_events-3479449
  • issue/recurring_events-3479843
  • issue/recurring_events-3479860
  • issue/recurring_events-3480495
  • issue/recurring_events-3480500
  • issue/recurring_events-3480746
  • issue/recurring_events-3480973
  • issue/recurring_events-3481021
  • issue/recurring_events-3481722
  • issue/recurring_events-3482804
  • issue/recurring_events-3483283
  • issue/recurring_events-3484209
  • issue/recurring_events-3170156
  • issue/recurring_events-3484558
  • issue/recurring_events-3485904
  • issue/recurring_events-3485935
  • issue/recurring_events-3487412
  • issue/recurring_events-3496270
  • issue/recurring_events-3480508
  • issue/recurring_events-3499792
  • issue/recurring_events-3500920
  • issue/recurring_events-3510919
  • issue/recurring_events-3510942
  • issue/recurring_events-3478268
  • issue/recurring_events-3515976
139 results
Show changes
Commits on Source (44)
Showing
with 158 additions and 49 deletions
BYDAY
BYEASTER
BYHOUR
BYMINUTE
BYMONTH
BYMONTHDAY
BYSECOND
BYSETPOS
BYWEEKDAY
BYWEEKNO
BYYEARDAY
datecompact
datetimes
DTEND
DTSTAMP
DTSTART
~eventseries
~eventinstance
~eventinstances
EXDATE
EXRULE
fromto
~fullcalendar
INCDATE
langname
LINELENGTH
monthday
monthdays
nonwaitlisted
PRODID
recreator
~rrule
~rrule's
~rrules
VCALENDAR
VEVENT
~waitlist
~waitlisted
~webform
WKST
################
# GitLabCI template for Drupal projects.
#
# This template is designed to give any Contrib maintainer everything they need to test, without requiring modification.
# It is also designed to keep up to date with Core Development automatically through the use of include files that can be centrally maintained.
# As long as you include the project, ref and three files below, any future updates added by the Drupal Association will be used in your
# pipelines automatically. However, you can modify this template if you have additional needs for your project.
# The full documentation is on https://project.pages.drupalcode.org/gitlab_templates/
################
# For information on alternative values for 'ref' see https://project.pages.drupalcode.org/gitlab_templates/info/templates-version/
# To test a Drupal 7 project, change the first include filename from .main.yml to .main-d7.yml
include:
- project: $_GITLAB_TEMPLATES_REPO
ref: $_GITLAB_TEMPLATES_REF
file:
- "/includes/include.drupalci.main.yml"
- "/includes/include.drupalci.variables.yml"
- "/includes/include.drupalci.workflows.yml"
################
# Pipeline configuration variables are defined with default values and descriptions in the file
# https://git.drupalcode.org/project/gitlab_templates/-/blob/main/includes/include.drupalci.variables.yml
################
variables:
# Keep testing on Drupal 10 until our dependencies are D11 ready.
CORE_STABLE: $CORE_PREVIOUS_STABLE
phpcs:
allow_failure: false
...@@ -202,7 +202,7 @@ modules can be written to modify, or enhance the core functionality ...@@ -202,7 +202,7 @@ modules can be written to modify, or enhance the core functionality
of `recurring_events` by making use of these hooks. of `recurring_events` by making use of these hooks.
The `recurring_events` module also has a number of Field Inheritance plugins The `recurring_events` module also has a number of Field Inheritance plugins
written to handle core fields, and custom plugins can be creared providing they written to handle core fields, and custom plugins can be created providing they
implement the `FieldInheritance` annotation and extend implement the `FieldInheritance` annotation and extend
the `FieldInheritancePluginBase` class. The core plugins are defined the `FieldInheritancePluginBase` class. The core plugins are defined
in `src/Plugin/FieldInheritance`. in `src/Plugin/FieldInheritance`.
......
...@@ -28,7 +28,7 @@ content: ...@@ -28,7 +28,7 @@ content:
third_party_settings: { } third_party_settings: { }
custom_date: custom_date:
type: daterange_default type: daterange_default
weight: 7 weight: 8
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
...@@ -40,13 +40,13 @@ content: ...@@ -40,13 +40,13 @@ content:
third_party_settings: { } third_party_settings: { }
excluded_dates: excluded_dates:
type: daterange_default type: daterange_default
weight: 8 weight: 9
settings: { } settings: { }
region: content region: content
third_party_settings: { } third_party_settings: { }
included_dates: included_dates:
type: daterange_default type: daterange_default
weight: 9 weight: 10
settings: { } settings: { }
region: content region: content
third_party_settings: { } third_party_settings: { }
...@@ -66,7 +66,7 @@ content: ...@@ -66,7 +66,7 @@ content:
type: boolean_checkbox type: boolean_checkbox
settings: settings:
display_label: true display_label: true
weight: 12 weight: 13
region: content region: content
third_party_settings: { } third_party_settings: { }
title: title:
...@@ -79,7 +79,7 @@ content: ...@@ -79,7 +79,7 @@ content:
third_party_settings: { } third_party_settings: { }
uid: uid:
type: entity_reference_autocomplete type: entity_reference_autocomplete
weight: 11 weight: 12
settings: settings:
match_operator: CONTAINS match_operator: CONTAINS
size: 60 size: 60
...@@ -93,4 +93,10 @@ content: ...@@ -93,4 +93,10 @@ content:
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
yearly_recurring_date:
type: yearly_recurring_date
weight: 7
region: content
settings: { }
third_party_settings: { }
hidden: { } hidden: { }
...@@ -51,3 +51,4 @@ hidden: ...@@ -51,3 +51,4 @@ hidden:
event_registration: true event_registration: true
monthly_recurring_date: true monthly_recurring_date: true
weekly_recurring_date: true weekly_recurring_date: true
yearly_recurring_date: true
...@@ -36,3 +36,4 @@ hidden: ...@@ -36,3 +36,4 @@ hidden:
monthly_recurring_date: true monthly_recurring_date: true
recur_type: true recur_type: true
weekly_recurring_date: true weekly_recurring_date: true
yearly_recurring_date: true
...@@ -7,7 +7,7 @@ days: 'monday,tuesday,wednesday,thursday,friday,saturday,sunday' ...@@ -7,7 +7,7 @@ days: 'monday,tuesday,wednesday,thursday,friday,saturday,sunday'
limit: 10 limit: 10
excludes: 1 excludes: 1
includes: 1 includes: 1
enabled_fields: 'consecutive_recurring_date,daily_recurring_date,weekly_recurring_date,monthly_recurring_date,custom' enabled_fields: 'consecutive_recurring_date,daily_recurring_date,weekly_recurring_date,monthly_recurring_date,yearly_recurring_date,custom'
threshold_warning: 1 threshold_warning: 1
threshold_count: 200 threshold_count: 200
threshold_message: 'Saving this series will create up to @total event instances. This could result in memory exhaustion or site instability.' threshold_message: 'Saving this series will create up to @total event instances. This could result in memory exhaustion or site instability.'
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @file * @file
* Javascript functionality for the recurring events create form. * Javascript functionality for the recurring events create form.
*/ */
/* eslint-disable */
(function ($, once) { (function ($, once) {
'use strict'; 'use strict';
...@@ -30,12 +30,12 @@ ...@@ -30,12 +30,12 @@
// Remove all the weekday recurrence options. // Remove all the weekday recurrence options.
$('#edit-weekly-recurring-date-0-days').find('input').each(function (key, item) { $('#edit-weekly-recurring-date-0-days').find('input').each(function (key, item) {
$(item).prop('checked', false); $(item).prop('checked', FALSE);
}); });
// Set the event to recur on the same day of the week as the start // Set the event to recur on the same day of the week as the start
// date. // date.
$('#edit-weekly-recurring-date-0-days-' + weekday).prop('checked', true); $('#edit-weekly-recurring-date-0-days-' + weekday).prop('checked', TRUE);
} }
}); });
...@@ -49,12 +49,12 @@ ...@@ -49,12 +49,12 @@
// Remove all the monthly recurrence options. // Remove all the monthly recurrence options.
$('#edit-monthly-recurring-date-0-days').find('input').each(function (key, item) { $('#edit-monthly-recurring-date-0-days').find('input').each(function (key, item) {
$(item).prop('checked', false); $(item).prop('checked', FALSE);
}); });
// Set the event to recur on the same day of the week as the start // Set the event to recur on the same day of the week as the start
// date. // date.
$('#edit-monthly-recurring-date-0-days-' + weekday).prop('checked', true); $('#edit-monthly-recurring-date-0-days-' + weekday).prop('checked', TRUE);
} }
}); });
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @file * @file
* Javascript functionality for the included/excluded date forms. * Javascript functionality for the included/excluded date forms.
*/ */
/* eslint-disable */
(function ($, once) { (function ($, once) {
'use strict'; 'use strict';
......
...@@ -6,13 +6,13 @@ ...@@ -6,13 +6,13 @@
*/ */
use Drupal\Core\Entity\EntityInterface; use Drupal\Core\Entity\EntityInterface;
use Drupal\recurring_events\Entity\EventSeriesTypeInterface;
use Drupal\Core\Url; use Drupal\Core\Url;
use Drupal\recurring_events\Entity\EventSeriesTypeInterface;
/** /**
* Implements hook_ENTITY_TYPE_insert(). * Implements hook_ENTITY_TYPE_insert().
*/ */
function group_recurring_events_series_eventseries_type_insert(EventSeriesTypeInterface $eventserices_type) { function group_recurring_events_series_eventseries_type_insert(EventSeriesTypeInterface $eventseries_type) {
if (\Drupal::isConfigSyncing()) { if (\Drupal::isConfigSyncing()) {
return; return;
} }
...@@ -43,11 +43,11 @@ function group_recurring_events_series_entity_operation(EntityInterface $entity) ...@@ -43,11 +43,11 @@ function group_recurring_events_series_entity_operation(EntityInterface $entity)
return $operations; return $operations;
} }
/* /**
* hook_entity_type_build * Implements hook_entity_type_build().
*/ */
function group_recurring_events_series_entity_type_build(array &$entity_types) { function group_recurring_events_series_entity_type_build(array &$entity_types) {
if(isset($entity_types['eventinstance'])) { if (isset($entity_types['eventinstance'])) {
$entity_types['eventinstance']->setHandlerClass('access', 'Drupal\group_recurring_events_series\Access\GroupEventInstanceHandler'); $entity_types['eventinstance']->setHandlerClass('access', 'Drupal\group_recurring_events_series\Access\GroupEventInstanceHandler');
} }
} }
...@@ -2,26 +2,32 @@ ...@@ -2,26 +2,32 @@
namespace Drupal\group_recurring_events_series\Access; namespace Drupal\group_recurring_events_series\Access;
use Drupal\Core\Access\AccessResult;
use Drupal\Core\Entity\EntityAccessControlHandler;
use Drupal\Core\Entity\EntityInterface; use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Session\AccountInterface; use Drupal\Core\Session\AccountInterface;
use Drupal\recurring_events\Entity\EventSeries;
use Drupal\recurring_events\EventInstanceAccessControlHandler; use Drupal\recurring_events\EventInstanceAccessControlHandler;
/**
* The GroupEventInstanceHandler class.
*/
class GroupEventInstanceHandler extends EventInstanceAccessControlHandler { class GroupEventInstanceHandler extends EventInstanceAccessControlHandler {
protected function checkAccess(EntityInterface $entity, $operation, AccountInterface $account) {
$result = parent::checkAccess($entity, $operation, $account); /**
if(!$result->isAllowed()) { * Determine access for the group.
// Need GroupContentAccessControlHandler not EventSeriesAccessControlHandler */
$manager = \Drupal::service('plugin.manager.group_content_enabler'); protected function checkAccess(EntityInterface $entity, $operation, AccountInterface $account) {
$type = 'group_recurring_events_series:' . $entity->getType(); $result = parent::checkAccess($entity, $operation, $account);
if($manager->hasHandler($type, 'access')) { if (!$result->isAllowed()) {
$handler = $manager->getAccessControlHandler($type); // Need GroupContentAccessControlHandler not
$result = $handler->entityAccess($entity->getEventSeries(), $operation, $account, TRUE); // EventSeriesAccessControlHandler.
} $manager = \Drupal::service('plugin.manager.group_content_enabler');
} $type = 'group_recurring_events_series:' . $entity->getType();
return $result; if ($manager->hasHandler($type, 'access')) {
$handler = $manager->getAccessControlHandler($type);
$result = $handler->entityAccess($entity->getEventSeries(), $operation, $account, TRUE);
}
} }
return $result;
}
} }
...@@ -5,10 +5,10 @@ namespace Drupal\group_recurring_events_series\Controller; ...@@ -5,10 +5,10 @@ namespace Drupal\group_recurring_events_series\Controller;
use Drupal\Core\Entity\EntityFormBuilderInterface; use Drupal\Core\Entity\EntityFormBuilderInterface;
use Drupal\Core\Entity\EntityTypeManagerInterface; use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Render\RendererInterface; use Drupal\Core\Render\RendererInterface;
use Drupal\Core\TempStore\PrivateTempStoreFactory;
use Drupal\group\Entity\Controller\GroupContentController; use Drupal\group\Entity\Controller\GroupContentController;
use Drupal\group\Entity\GroupInterface; use Drupal\group\Entity\GroupInterface;
use Drupal\group\Plugin\GroupContentEnablerManagerInterface; use Drupal\group\Plugin\GroupContentEnablerManagerInterface;
use Drupal\Core\TempStore\PrivateTempStoreFactory;
use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\DependencyInjection\ContainerInterface;
/** /**
......
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
namespace Drupal\group_recurring_events_series\Plugin\GroupContentEnabler; namespace Drupal\group_recurring_events_series\Plugin\GroupContentEnabler;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Url;
use Drupal\group\Entity\GroupInterface; use Drupal\group\Entity\GroupInterface;
use Drupal\group\Plugin\GroupContentEnablerBase; use Drupal\group\Plugin\GroupContentEnablerBase;
use Drupal\recurring_events\Entity\EventSeriesType; use Drupal\recurring_events\Entity\EventSeriesType;
use Drupal\Core\Url;
use Drupal\Core\Form\FormStateInterface;
/** /**
* Provides a content enabler for event series. * Provides a content enabler for event series.
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
namespace Drupal\group_recurring_events_series\Plugin\GroupContentEnabler; namespace Drupal\group_recurring_events_series\Plugin\GroupContentEnabler;
use Drupal\recurring_events\Entity\EventSeriesType;
use Drupal\Component\Plugin\Derivative\DeriverBase; use Drupal\Component\Plugin\Derivative\DeriverBase;
use Drupal\Core\StringTranslation\StringTranslationTrait; use Drupal\Core\StringTranslation\StringTranslationTrait;
use Drupal\recurring_events\Entity\EventSeriesType;
/** /**
* Provides a deriver for group event series entities. * Provides a deriver for group event series entities.
......
...@@ -13,7 +13,12 @@ use Drupal\link\Plugin\Field\FieldType\LinkItem; ...@@ -13,7 +13,12 @@ use Drupal\link\Plugin\Field\FieldType\LinkItem;
* description = @Translation("A link to an event's iCalendar download."), * description = @Translation("A link to an event's iCalendar download."),
* default_widget = "link_default", * default_widget = "link_default",
* default_formatter = "event_ical_link", * default_formatter = "event_ical_link",
* constraints = {"LinkType" = {}, "LinkAccess" = {}, "LinkExternalProtocols" = {}, "LinkNotExistingInternal" = {}} * constraints = {
* "LinkType" = {},
* "LinkAccess" = {},
* "LinkExternalProtocols" = {},
* "LinkNotExistingInternal" = {},
* }
* ) * )
*/ */
class EventICalLinkItem extends LinkItem { class EventICalLinkItem extends LinkItem {
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
namespace Drupal\Tests\recurring_events_ical\Kernel; namespace Drupal\Tests\recurring_events_ical\Kernel;
use Drupal\Core\Datetime\DrupalDateTime; use Drupal\Core\Datetime\DrupalDateTime;
use Drupal\datetime\Plugin\Field\FieldType\DateTimeItemInterface;
use Drupal\KernelTests\KernelTestBase; use Drupal\KernelTests\KernelTestBase;
use Drupal\datetime\Plugin\Field\FieldType\DateTimeItemInterface;
use Drupal\recurring_events\Entity\EventSeries; use Drupal\recurring_events\Entity\EventSeries;
/** /**
...@@ -98,6 +98,7 @@ class EventICalTest extends KernelTestBase { ...@@ -98,6 +98,7 @@ class EventICalTest extends KernelTestBase {
$this->assertPreamble($iCal); $this->assertPreamble($iCal);
$this->assertSame('DTSTART:20220101T000000Z', $iCal[6]); $this->assertSame('DTSTART:20220101T000000Z', $iCal[6]);
$this->assertSame('DTEND:20220101T003000Z', $iCal[7]); $this->assertSame('DTEND:20220101T003000Z', $iCal[7]);
// cspell:ignore Seriousl
$this->assertSame('SUMMARY:Test event with a title that is longer than 75 characters. Seriousl', $iCal[8]); $this->assertSame('SUMMARY:Test event with a title that is longer than 75 characters. Seriousl', $iCal[8]);
$this->assertSame(' y, it just keeps going and going.', $iCal[9]); $this->assertSame(' y, it just keeps going and going.', $iCal[9]);
$this->assertSame('END:VEVENT', $iCal[10]); $this->assertSame('END:VEVENT', $iCal[10]);
......
...@@ -6,10 +6,10 @@ recurring_events_registration.registrant.config: ...@@ -6,10 +6,10 @@ recurring_events_registration.registrant.config:
type: boolean type: boolean
label: 'Whether to display the remaining capacity for an event during registration' label: 'Whether to display the remaining capacity for an event during registration'
insert_redirect_choice: insert_redirect_choice:
type: radios type: string
label: 'Choose where registrant form redirects' label: 'Choose where registrant form redirects'
insert_redirect_other: insert_redirect_other:
type: url type: string
label: 'Type custom URL here' label: 'Type custom URL here'
use_admin_theme: use_admin_theme:
type: boolean type: boolean
...@@ -29,19 +29,38 @@ recurring_events_registration.registrant.config: ...@@ -29,19 +29,38 @@ recurring_events_registration.registrant.config:
email_notifications_queue: email_notifications_queue:
type: boolean type: boolean
label: 'Whether to use the email notifications queue' label: 'Whether to use the email notifications queue'
successfully_registered:
type: label
label: 'The message to display when a registrant is successfully created'
successfully_registered_waitlist:
type: label
label: 'The message to display when a registrant is successfully added to the waitlist'
successfully_updated:
type: label
label: 'The message to display when a registrant is successfully updated'
successfully_updated_waitlist:
type: label
label: 'The message to display when a registrant on the waitlist is successfully updated'
already_registered:
type: label
label: 'The message to display when a user is already registered for an event'
registration_closed:
type: label
label: 'The message to display when registration is closed for an event'
notifications: notifications:
type: sequence type: sequence
sequence: sequence:
type: mapping type: mapping
label: 'Email notification'
mapping: mapping:
enabled: enabled:
type: boolean type: boolean
label: 'Whether to enable these notifications' label: 'Whether to enable these notifications'
subject: subject:
type: string type: label
label: 'The email subject for these notifications' label: 'The email subject for these notifications'
body: body:
type: string type: text
label: 'The email body for these notifications' label: 'The email body for these notifications'
field.widget.settings.event_registration: field.widget.settings.event_registration:
type: mapping type: mapping
......
...@@ -2,7 +2,7 @@ name: Recurring Events Registration Reminders ...@@ -2,7 +2,7 @@ name: Recurring Events Registration Reminders
type: module type: module
description: Enables reminders to be sent for upcoming events. description: Enables reminders to be sent for upcoming events.
package: Recurring Events package: Recurring Events
core_version_requirement: ^8.9 || ^9 core_version_requirement: ^9.3 || ^10
dependencies: dependencies:
- recurring_events:recurring_events - recurring_events:recurring_events
- recurring_events:recurring_events_registration - recurring_events:recurring_events_registration
...@@ -5,9 +5,9 @@ ...@@ -5,9 +5,9 @@
* Primary module hooks for Recurring Events Registration Reminders module. * Primary module hooks for Recurring Events Registration Reminders module.
*/ */
use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Entity\EntityTypeInterface; use Drupal\Core\Entity\EntityTypeInterface;
use Drupal\Core\Field\BaseFieldDefinition; use Drupal\Core\Field\BaseFieldDefinition;
use Drupal\Core\Entity\EntityInterface;
/** /**
* Implements hook_entity_base_field_info_alter(). * Implements hook_entity_base_field_info_alter().
......
...@@ -2,13 +2,13 @@ ...@@ -2,13 +2,13 @@
namespace Drupal\recurring_events_reminders\Plugin\Field\FieldWidget; namespace Drupal\recurring_events_reminders\Plugin\Field\FieldWidget;
use Drupal\Core\Field\FieldDefinitionInterface;
use Drupal\Core\Field\FieldItemListInterface; use Drupal\Core\Field\FieldItemListInterface;
use Drupal\text\Plugin\Field\FieldWidget\TextareaWidget;
use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\StringTranslation\StringTranslationTrait; use Drupal\Core\StringTranslation\StringTranslationTrait;
use Drupal\recurring_events_registration\RegistrationCreationService; use Drupal\recurring_events_registration\RegistrationCreationService;
use Drupal\text\Plugin\Field\FieldWidget\TextareaWidget;
use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\DependencyInjection\ContainerInterface;
use Drupal\Core\Field\FieldDefinitionInterface;
/** /**
* Plugin implementation of the 'event registration reminders' widget. * Plugin implementation of the 'event registration reminders' widget.
......