SocialAddToCalendar.php in Open Social 10.2.x
Same filename and directory in other branches
- 8.9 modules/social_features/social_event/modules/social_event_addtocal/src/Annotation/SocialAddToCalendar.php
- 10.3.x modules/social_features/social_event/modules/social_event_addtocal/src/Annotation/SocialAddToCalendar.php
- 10.0.x modules/social_features/social_event/modules/social_event_addtocal/src/Annotation/SocialAddToCalendar.php
- 10.1.x modules/social_features/social_event/modules/social_event_addtocal/src/Annotation/SocialAddToCalendar.php
Namespace
Drupal\social_event_addtocal\AnnotationFile
modules/social_features/social_event/modules/social_event_addtocal/src/Annotation/SocialAddToCalendar.phpView source
<?php
namespace Drupal\social_event_addtocal\Annotation;
use Drupal\Component\Annotation\Plugin;
/**
* Defines a Social add to calendar item annotation object.
*
* @see \Drupal\social_event_addtocal\Plugin\SocialAddToCalendarManager
* @see plugin_api
*
* @Annotation
*/
class SocialAddToCalendar extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The label of the plugin.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $label;
/**
* The url for adding to calendar.
*
* @var string
*/
public $url;
/**
* The date modifications for all day events.
*
* @var string
*/
public $endDateModification = '+ 1 day';
/**
* Date format for all day event.
*
* @var string
*/
public $allDayFormat = 'Ymd';
/**
* Date format.
*
* @var string
*/
public $dateFormat = 'Ymd\\THis';
/**
* Date format if users timezone is UTC.
*
* @var string
*/
public $utcDateFormat = 'Ymd\\THis\\Z';
}
Classes
Name | Description |
---|---|
SocialAddToCalendar | Defines a Social add to calendar item annotation object. |