class SitemapGenerator in Simple XML sitemap 8.3
Same name and namespace in other branches
- 4.x src/Annotation/SitemapGenerator.php \Drupal\simple_sitemap\Annotation\SitemapGenerator
Defines a SitemapGenerator item annotation object.
@package Drupal\simple_sitemap\Annotation
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\simple_sitemap\Annotation\SitemapGenerator
Expanded class hierarchy of SitemapGenerator
See also
\Drupal\simple_sitemap\Plugin\simple_sitemap\SitemapGenerator\SitemapGeneratorManager
1 class is annotated with SitemapGenerator
- DefaultSitemapGenerator in src/
Plugin/ simple_sitemap/ SitemapGenerator/ DefaultSitemapGenerator.php - Class DefaultSitemapGenerator @package Drupal\simple_sitemap\Plugin\simple_sitemap\SitemapGenerator
File
- src/
Annotation/ SitemapGenerator.php, line 17
Namespace
Drupal\simple_sitemap\AnnotationView source
class SitemapGenerator extends Plugin {
/**
* The generator ID.
*
* @var string
*/
public $id;
/**
* The human-readable name of the generator.
*
* @ingroup plugin_translatable
*
* @var \Drupal\Core\Annotation\Translation
*/
public $label;
/**
* A short description of the generator.
*
* @ingroup plugin_translatable
*
* @var \Drupal\Core\Annotation\Translation
*/
public $description;
/**
* Default generator settings.
*
* @var array
*/
public $settings = [];
}
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 |
SitemapGenerator:: |
public | property | A short description of the generator. | |
SitemapGenerator:: |
public | property | The generator ID. | |
SitemapGenerator:: |
public | property | The human-readable name of the generator. | |
SitemapGenerator:: |
public | property | Default generator settings. |