You are here

AggregatorParser.php in Drupal 8

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

File

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

namespace Drupal\aggregator\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines a Plugin annotation object for aggregator parser plugins.
 *
 * Plugin Namespace: Plugin\aggregator\parser
 *
 * For a working example, see \Drupal\aggregator\Plugin\aggregator\parser\DefaultParser
 *
 * @see \Drupal\aggregator\Plugin\AggregatorPluginManager
 * @see \Drupal\aggregator\Plugin\ParserInterface
 * @see \Drupal\aggregator\Plugin\AggregatorPluginSettingsBase
 * @see plugin_api
 *
 * @Annotation
 */
class AggregatorParser 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
AggregatorParser Defines a Plugin annotation object for aggregator parser plugins.