UrlGenerator.php in Simple XML sitemap 4.x
Same filename and directory in other branches
Namespace
Drupal\simple_sitemap\AnnotationFile
src/Annotation/UrlGenerator.phpView source
<?php
namespace Drupal\simple_sitemap\Annotation;
use Drupal\Component\Annotation\Plugin;
/**
 * Defines a UrlGenerator item annotation object.
 *
 * @see \Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator\UrlGeneratorManager
 * @see plugin_api
 *
 * @Annotation
 */
class UrlGenerator 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 = [];
}Classes
| Name   | Description | 
|---|---|
| UrlGenerator | Defines a UrlGenerator item annotation object. | 
