3 namespace Drupal\simple_sitemap\Annotation;
5 use Drupal\Component\Annotation\Plugin;
8 * Defines a UrlGenerator item annotation object.
10 * @package Drupal\simple_sitemap\Annotation
12 * @see \Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator\UrlGeneratorManager
17 class UrlGenerator extends Plugin {
27 * The human-readable name of the generator.
29 * @ingroup plugin_translatable
31 * @var \Drupal\Core\Annotation\Translation
36 * A short description of the generator.
38 * @ingroup plugin_translatable
40 * @var \Drupal\Core\Annotation\Translation
45 * An integer to determine the weight of this generator relative to others.
52 * Whether the generator is enabled by default.
56 public $enabled = TRUE;
59 * Default generator settings.
64 'instantiate_for_each_data_set' => FALSE,