activity_stream-1.0.x-dev/src/Annotation/ActivityDestination.php

src/Annotation/ActivityDestination.php
<?php

namespace Drupal\activity_stream\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines a Activity destination item annotation object.
 *
 * @see \Drupal\activity_stream\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;

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc