You are here

AggregatorFetcher.php in Drupal 9

Same filename and directory in other branches
  1. 8 core/modules/aggregator/src/Annotation/AggregatorFetcher.php

File

core/modules/aggregator/src/Annotation/AggregatorFetcher.php
View source
<?php

namespace Drupal\aggregator\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines a Plugin annotation object for aggregator fetcher plugins.
 *
 * Plugin Namespace: Plugin\aggregator\fetcher
 *
 * For a working example, see \Drupal\aggregator\Plugin\aggregator\fetcher\DefaultFetcher
 *
 * @see \Drupal\aggregator\Plugin\AggregatorPluginManager
 * @see \Drupal\aggregator\Plugin\FetcherInterface
 * @see \Drupal\aggregator\Plugin\AggregatorPluginSettingsBase
 * @see plugin_api
 *
 * @Annotation
 */
class AggregatorFetcher extends Plugin {

  /**
   * The plugin ID.
   *
   * @var string
   */
  public $id;

  /**
   * The title of the plugin.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $title;

  /**
   * The description of the plugin.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $description;

}

Classes

Namesort descending Description
AggregatorFetcher Defines a Plugin annotation object for aggregator fetcher plugins.