UrlGenerator.php 863 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
<?php

namespace Drupal\simple_sitemap\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines a UrlGenerator item annotation object.
 *
 * @package Drupal\simple_sitemap\Annotation
 *
12
 * @see \Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator\UrlGeneratorManager
13 14 15 16 17 18 19
 * @see plugin_api
 *
 * @Annotation
 */
class UrlGenerator extends Plugin {

  /**
20
   * The generator ID.
21 22 23 24
   *
   * @var string
   */
  public $id;
25 26

  /**
27
   * The human-readable name of the generator.
28 29 30 31 32 33 34 35
   *
   * @ingroup plugin_translatable
   *
   * @var \Drupal\Core\Annotation\Translation
   */
  public $title;

  /**
36
   * A short description of the generator.
37 38 39 40 41 42 43 44
   *
   * @ingroup plugin_translatable
   *
   * @var \Drupal\Core\Annotation\Translation
   */
  public $description;

  /**
45
   * Default generator settings.
46
   *
gbyte.co's avatar
gbyte.co committed
47
   * @var array
48
   */
49
  public $settings = [];
50
}