class SocialAddToCalendar in Open Social 8.9
Same name and namespace in other branches
- 10.3.x modules/social_features/social_event/modules/social_event_addtocal/src/Annotation/SocialAddToCalendar.php \Drupal\social_event_addtocal\Annotation\SocialAddToCalendar
- 10.0.x modules/social_features/social_event/modules/social_event_addtocal/src/Annotation/SocialAddToCalendar.php \Drupal\social_event_addtocal\Annotation\SocialAddToCalendar
- 10.1.x modules/social_features/social_event/modules/social_event_addtocal/src/Annotation/SocialAddToCalendar.php \Drupal\social_event_addtocal\Annotation\SocialAddToCalendar
- 10.2.x modules/social_features/social_event/modules/social_event_addtocal/src/Annotation/SocialAddToCalendar.php \Drupal\social_event_addtocal\Annotation\SocialAddToCalendar
Defines a Social add to calendar item annotation object.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\social_event_addtocal\Annotation\SocialAddToCalendar
Expanded class hierarchy of SocialAddToCalendar
See also
\Drupal\social_event_addtocal\Plugin\SocialAddToCalendarManager
4 classes are annotated with SocialAddToCalendar
- AddToGoogle in modules/
social_features/ social_event/ modules/ social_event_addtocal/ src/ Plugin/ SocialAddToCalendar/ AddToGoogle.php - Provides add to Google calendar plugin.
- AddToICal in modules/
social_features/ social_event/ modules/ social_event_addtocal/ src/ Plugin/ SocialAddToCalendar/ AddToICal.php - Provides add to Google calendar plugin.
- AddToOutlook in modules/
social_features/ social_event/ modules/ social_event_addtocal/ src/ Plugin/ SocialAddToCalendar/ AddToOutlook.php - Provides add to Google calendar plugin.
- AddToYahoo in modules/
social_features/ social_event/ modules/ social_event_addtocal/ src/ Plugin/ SocialAddToCalendar/ AddToYahoo.php - Provides add to Google calendar plugin.
File
- modules/
social_features/ social_event/ modules/ social_event_addtocal/ src/ Annotation/ SocialAddToCalendar.php, line 15
Namespace
Drupal\social_event_addtocal\AnnotationView source
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';
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Plugin:: |
protected | property | The plugin definition read from the class annotation. | 1 |
Plugin:: |
public | function |
Gets the value of an annotation. Overrides AnnotationInterface:: |
5 |
Plugin:: |
public | function |
Gets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the unique ID for this annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
protected | function | Parses an annotation into its definition. | |
Plugin:: |
public | function |
Sets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Sets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function | Constructs a Plugin object. | 2 |
SocialAddToCalendar:: |
public | property | Date format for all day event. | |
SocialAddToCalendar:: |
public | property | Date format. | |
SocialAddToCalendar:: |
public | property | The date modifications for all day events. | |
SocialAddToCalendar:: |
public | property | The plugin ID. | |
SocialAddToCalendar:: |
public | property | The label of the plugin. | |
SocialAddToCalendar:: |
public | property | The url for adding to calendar. | |
SocialAddToCalendar:: |
public | property | Date format if users timezone is UTC. |