class AnalyticsService in Analytics 8
Same name in this branch
- 8 src/Annotation/AnalyticsService.php \Drupal\analytics\Annotation\AnalyticsService
- 8 src/Entity/AnalyticsService.php \Drupal\analytics\Entity\AnalyticsService
Defines an analytics service annotation object.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\analytics\Annotation\AnalyticsService
Expanded class hierarchy of AnalyticsService
See also
1 file declares its use of AnalyticsService
5 classes are annotated with AnalyticsService
- AmpAnalytics in analytics_amp/
src/ Plugin/ AnalyticsService/ AmpAnalytics.php - Provides AMP analytics.
- AmpTrackingPixel in analytics_amp/
src/ Plugin/ AnalyticsService/ AmpTrackingPixel.php - Analytics service type.
- GoogleAnalyticsGa in analytics_google/
src/ Plugin/ AnalyticsService/ GoogleAnalyticsGa.php - Analytics service type.
- GoogleTagManager in src/
Plugin/ AnalyticsService/ GoogleTagManager.php - Google Tag Manager analytics service plugin.
- Piwik in analytics_piwik/
src/ Plugin/ AnalyticsService/ Piwik.php - Analytics service type.
File
- src/
Annotation/ AnalyticsService.php, line 14
Namespace
Drupal\analytics\AnnotationView source
class AnalyticsService extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The label of the service.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $label;
/**
* If this plugin supports having more than one instance.
*
* @var bool
*/
public $multiple = FALSE;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AnalyticsService:: |
public | property | The plugin ID. | |
AnalyticsService:: |
public | property | The label of the service. | |
AnalyticsService:: |
public | property | If this plugin supports having more than one instance. | |
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 |