Skip to content
Snippets Groups Projects
Commit 26116a02 authored by Owen Bush's avatar Owen Bush Committed by Owen Bush
Browse files

Issue #3083598 by owenbush, the_glitch: Needs plugin to enable configuration with Group module

parent d44841d1
No related branches found
No related tags found
No related merge requests found
<?php
namespace Drupal\recurring_events_registration\Plugin\GroupContentEnabler;
use Drupal\group\Plugin\GroupContentEnablerBase;
/**
* Allows Registrant content to be added to groups.
*
* @GroupContentEnabler(
* id = "registrant",
* label = @Translation("Registrant"),
* description = @Translation("Adds Registrant entities to groups."),
* entity_type_id = "registrant",
* path_key = "registrant",
* )
*/
class Registrant extends GroupContentEnablerBase {
}
<?php
namespace Drupal\recurring_events\Plugin\GroupContentEnabler;
use Drupal\group\Plugin\GroupContentEnablerBase;
/**
* Allows EventInstance content to be added to groups.
*
* @GroupContentEnabler(
* id = "event_instance",
* label = @Translation("Event Instance"),
* description = @Translation("Adds Event Instance entities to groups."),
* entity_type_id = "eventinstance",
* path_key = "eventinstance",
* )
*/
class EventInstance extends GroupContentEnablerBase {
}
<?php
namespace Drupal\recurring_events\Plugin\GroupContentEnabler;
use Drupal\group\Plugin\GroupContentEnablerBase;
/**
* Allows EventSeries content to be added to groups.
*
* @GroupContentEnabler(
* id = "event_series",
* label = @Translation("Event Series"),
* description = @Translation("Adds Event Series entities to groups."),
* entity_type_id = "eventseries",
* path_key = "eventseries",
* )
*/
class EventSeries extends GroupContentEnablerBase {
}
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