You are here

RabbitHoleBehaviorPlugin.php in Rabbit Hole 2.x

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

File

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

namespace Drupal\rabbit_hole\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines a Rabbit hole behavior plugin item annotation object.
 *
 * @see \Drupal\rabbit_hole\Plugin\RabbitHoleBehaviorPluginManager
 * @see plugin_api
 *
 * @Annotation
 */
class RabbitHoleBehaviorPlugin 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
RabbitHoleBehaviorPlugin Defines a Rabbit hole behavior plugin item annotation object.