class PurgeProcessor in Purge 8.3
Defines a PurgeProcessor annotation object.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\purge\Annotation\PurgeProcessor
Expanded class hierarchy of PurgeProcessor
9 classes are annotated with PurgeProcessor
- AProcessor in tests/
modules/ purge_processor_test/ src/ Plugin/ Purge/ Processor/ AProcessor.php - Test processor A.
- BProcessor in tests/
modules/ purge_processor_test/ src/ Plugin/ Purge/ Processor/ BProcessor.php - Test processor B.
- CProcessor in tests/
modules/ purge_processor_test/ src/ Plugin/ Purge/ Processor/ CProcessor.php - Test processor C.
- CronProcessor in modules/
purge_processor_cron/ src/ Plugin/ Purge/ Processor/ CronProcessor.php - Cron processor.
- DrushInvalidateProcessor in modules/
purge_drush/ src/ Plugin/ Purge/ Processor/ DrushInvalidateProcessor.php - Processor for the 'drush p:invalidate' command.
File
- src/
Annotation/ PurgeProcessor.php, line 12
Namespace
Drupal\purge\AnnotationView source
class PurgeProcessor extends Plugin {
/**
* The plugin ID of the processor plugin.
*
* @var string
*/
public $id;
/**
* The human-readable name of the processor plugin.
*
* @var \Drupal\Core\Annotation\Translation
* @ingroup plugin_translatable
*/
public $label;
/**
* The description of the processor plugin.
*
* @var \Drupal\Core\Annotation\Translation
* @ingroup plugin_translatable
*/
public $description;
/**
* Whether the plugin needs to auto enable when first discovered.
*
* @var bool
*/
public $enable_by_default = FALSE;
// phpcs:ignore -- annotation property!
/**
* Class name of the configuration form of your processor.
*
* Full class name of the configuration form of your processor, with leading
* backslash. Class must extend \Drupal\purge_ui\Form\ProcessorConfigFormBase.
*
* @var string
*/
public $configform = '';
}
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 |
PurgeProcessor:: |
public | property | Class name of the configuration form of your processor. | |
PurgeProcessor:: |
public | property | The description of the processor plugin. | |
PurgeProcessor:: |
public | property | Whether the plugin needs to auto enable when first discovered. | |
PurgeProcessor:: |
public | property | The plugin ID of the processor plugin. | |
PurgeProcessor:: |
public | property | The human-readable name of the processor plugin. |