You are here

SitemapGenerator.php in Simple XML sitemap 4.x

Same filename and directory in other branches
  1. 8.3 src/Annotation/SitemapGenerator.php

File

src/Annotation/SitemapGenerator.php
View source
<?php

namespace Drupal\simple_sitemap\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines a SitemapGenerator item annotation object.
 *
 * @see \Drupal\simple_sitemap\Plugin\simple_sitemap\SitemapGenerator\SitemapGeneratorManager
 * @see plugin_api
 *
 * @Annotation
 */
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 = [];

}

Classes

Namesort descending Description
SitemapGenerator Defines a SitemapGenerator item annotation object.