class Sitemap in Sitemap 8.2
Same name and namespace in other branches
- 2.0.x src/Annotation/Sitemap.php \Drupal\sitemap\Annotation\Sitemap
Defines a Sitemap annotation object.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\sitemap\Annotation\Sitemap
Expanded class hierarchy of Sitemap
See also
\Drupal\sitemap\SitemapManager
\Drupal\sitemap\SitemapInterface
5 string references to 'Sitemap'
- sitemap.config_translation.yml in ./
sitemap.config_translation.yml - sitemap.config_translation.yml
- sitemap.info.yml in ./
sitemap.info.yml - sitemap.info.yml
- sitemap.links.menu.yml in ./
sitemap.links.menu.yml - sitemap.links.menu.yml
- sitemap.routing.yml in ./
sitemap.routing.yml - sitemap.routing.yml
- sitemap.settings.yml in config/
install/ sitemap.settings.yml - config/install/sitemap.settings.yml
4 classes are annotated with Sitemap
- Book in src/
Plugin/ Sitemap/ Book.php - Provides a sitemap for a book.
- Frontpage in src/
Plugin/ Sitemap/ Frontpage.php - Provides a link to the front page for the sitemap.
- Menu in src/
Plugin/ Sitemap/ Menu.php - Provides a sitemap for an individual menu.
- Vocabulary in src/
Plugin/ Sitemap/ Vocabulary.php - Provides a sitemap for an taxonomy vocabulary.
File
- src/
Annotation/ Sitemap.php, line 17
Namespace
Drupal\sitemap\AnnotationView source
class Sitemap extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The human-readable name of the plugin.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $title;
/**
* A short description of the plugin.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $description;
/**
* Sets the weight of this item relative to other items in the sitemap.
*
* @var int
*/
public $weight = NULL;
/**
* Whether this plugin is enabled or disabled by default.
*
* @var bool
*/
public $enabled = FALSE;
/**
* The default settings for the plugin.
*
* @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 |
Sitemap:: |
public | property | A short description of the plugin. | |
Sitemap:: |
public | property | Whether this plugin is enabled or disabled by default. | |
Sitemap:: |
public | property | The plugin ID. | |
Sitemap:: |
public | property | The default settings for the plugin. | |
Sitemap:: |
public | property | The human-readable name of the plugin. | |
Sitemap:: |
public | property | Sets the weight of this item relative to other items in the sitemap. |