class UserRestrictionType in User restrictions 8
Defines the annotation object for UserRestrictionType plugins.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\user_restrictions\Annotation\UserRestrictionType
Expanded class hierarchy of UserRestrictionType
See also
\Drupal\user_restrictions\Plugin\UserRestrictionTypeManager
3 classes are annotated with UserRestrictionType
File
- src/
Annotation/ UserRestrictionType.php, line 15
Namespace
Drupal\user_restrictions\AnnotationView source
class UserRestrictionType extends Plugin {
/**
* The plugin ID.
* @var string
*/
public $id;
/**
* The label of the plugin.
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $label;
/**
* Plugin weight.
*
* @var int
*/
public $weight;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Plugin:: |
protected | property | The plugin definition read from the class annotation. | 1 |
Plugin:: |
public | function |
Gets the value of an annotation. Overrides AnnotationInterface:: |
5 |
Plugin:: |
public | function |
Gets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the unique ID for this annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
protected | function | Parses an annotation into its definition. | |
Plugin:: |
public | function |
Sets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Sets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function | Constructs a Plugin object. | 2 |
UserRestrictionType:: |
public | property | The plugin ID. | |
UserRestrictionType:: |
public | property | The label of the plugin. | |
UserRestrictionType:: |
public | property | Plugin weight. |