You are here

ActivityAction.php in Open Social 10.1.x

File

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

namespace Drupal\activity_creator\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines a Activity action item annotation object.
 *
 * @see \Drupal\activity_creator\Plugin\ActivityActionManager
 * @see plugin_api
 *
 * @Annotation
 */
class ActivityAction extends Plugin {

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

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

}

Classes

Namesort descending Description
ActivityAction Defines a Activity action item annotation object.