AccessFilterRule.php in Access Filter 8
Namespace
Drupal\access_filter\AnnotationFile
src/Annotation/AccessFilterRule.phpView source
<?php
namespace Drupal\access_filter\Annotation;
use Drupal\Component\Annotation\Plugin;
/**
* Defines a Plugin annotation object for access_filter rule plugins.
*
* Plugin Namespace: Plugin\AccessFilter\Rule.
*
* @see \Drupal\access_filter\Plugin\AccessFilterPluginManager
* @see \Drupal\access_filter\Plugin\RuleInterface
* @see plugin_api
*
* @Annotation
*/
class AccessFilterRule extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The title of the plugin.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $title;
/**
* The description of the plugin.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $description;
/**
* The example snippets for the plugin.
*
* @var array
*/
public $examples;
}
Classes
Name | Description |
---|---|
AccessFilterRule | Defines a Plugin annotation object for access_filter rule plugins. |