class Warmer in Warmer 8
Same name and namespace in other branches
- 2.x src/Annotation/Warmer.php \Drupal\warmer\Annotation\Warmer
Annotation class for the cache warmer plugins.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\warmer\Annotation\Warmer
Expanded class hierarchy of Warmer
1 file declares its use of Warmer
- WarmerPluginManager.php in src/
Plugin/ WarmerPluginManager.php
2 string references to 'Warmer'
- EnqueueForm::buildForm in src/
Form/ EnqueueForm.php - Form constructor.
- warmer.info.yml in ./
warmer.info.yml - warmer.info.yml
3 classes are annotated with Warmer
- CdnWarmer in modules/
warmer_cdn/ src/ Plugin/ warmer/ CdnWarmer.php - The cache warmer for the built-in entity cache.
- EntityWarmer in modules/
warmer_entity/ src/ Plugin/ warmer/ EntityWarmer.php - The cache warmer for the built-in entity cache.
- SitemapWarmer in modules/
warmer_cdn/ src/ Plugin/ warmer/ SitemapWarmer.php - The cache warmer for the built-in entity cache.
File
- src/
Annotation/ Warmer.php, line 12
Namespace
Drupal\warmer\AnnotationView source
class Warmer extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The human-readable name of the formatter type.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $label;
/**
* A short description of the formatter type.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $description;
/**
* The name of the field formatter class.
*
* This is not provided manually, it will be added by the discovery mechanism.
*
* @var string
*/
public $class;
}
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 |
Warmer:: |
public | property | The name of the field formatter class. | |
Warmer:: |
public | property | A short description of the formatter type. | |
Warmer:: |
public | property | The plugin ID. | |
Warmer:: |
public | property | The human-readable name of the formatter type. |