You are here

ActivityTypePlugin.php in CRM Core 8.2

File

modules/crm_core_activity/src/Annotation/ActivityTypePlugin.php
View source
<?php

namespace Drupal\crm_core_activity\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines an activity type plugin annotation object.
 *
 * @Annotation
 */
class ActivityTypePlugin extends Plugin {

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

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

  /**
   * A brief description of the plugin.
   *
   * This will be shown when adding or configuring this display.
   *
   * @ingroup plugin_translatable
   *
   * @var \Drupal\Core\Annotation\Translation (optional)
   */
  public $description = '';

}

Classes

Namesort descending Description
ActivityTypePlugin Defines an activity type plugin annotation object.