You are here

ActivityDestination.php in Open Social 10.2.x

File

modules/custom/activity_creator/src/Annotation/ActivityDestination.php
View source
<?php

namespace Drupal\activity_creator\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines a Activity destination item annotation object.
 *
 * @see \Drupal\activity_creator\Plugin\ActivityDestinationManager
 * @see plugin_api
 *
 * @Annotation
 */
class ActivityDestination extends Plugin {

  /**
   * The plugin ID.
   *
   * @var string
   */
  public $id;

  /**
   * The label of the plugin.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $label;

  /**
   * Whether this destination supports aggregation or not.
   *
   * @var bool
   */
  public $isAggregatable = FALSE;

  /**
   * Whether this destination is common or not.
   *
   * @var bool
   */
  public $isCommon = FALSE;

}

Classes

Namesort descending Description
ActivityDestination Defines a Activity destination item annotation object.