You are here

IdentityChannel.php in Courier 2.x

Same filename and directory in other branches
  1. 8 src/Annotation/IdentityChannel.php

File

src/Annotation/IdentityChannel.php
View source
<?php

namespace Drupal\courier\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * A bridge applying identity information to a message.
 *
 * @Annotation
 */
class IdentityChannel extends Plugin {

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

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

  /**
   * The ID of an entity type implementing \Drupal\courier\ChannelInterface.
   *
   * @var string
   */
  public $channel;

  /**
   * The ID of an entity type representing an identity.
   *
   * @var string
   */
  public $identity;

  /**
   * The weight of the plugin.
   *
   * @var int
   */
  public $weight;

}

Classes

Namesort descending Description
IdentityChannel A bridge applying identity information to a message.