class AggregatorParser

Defines a Plugin annotation object for aggregator parser plugins.

Hierarchy

Expanded class hierarchy of AggregatorParser

2 files declare their use of AggregatorParser
DefaultParser.php in drupal/core/modules/aggregator/lib/Drupal/aggregator/Plugin/aggregator/parser/DefaultParser.php
Contains \Drupal\aggregator\Plugin\aggregator\parser\DefaultParser.
TestParser.php in drupal/core/modules/aggregator/tests/modules/aggregator_test/lib/Drupal/aggregator_test/Plugin/aggregator/parser/TestParser.php
Contains \Drupal\aggregator_test\Plugin\aggregator\parser\TestParser.
2 classes are annotated with AggregatorParser
DefaultParser in drupal/core/modules/aggregator/lib/Drupal/aggregator/Plugin/aggregator/parser/DefaultParser.php
Defines a default parser implementation.
TestParser in drupal/core/modules/aggregator/tests/modules/aggregator_test/lib/Drupal/aggregator_test/Plugin/aggregator/parser/TestParser.php
Defines a Test parser implementation.

File

drupal/core/modules/aggregator/lib/Drupal/aggregator/Annotation/AggregatorParser.php, line 17
Contains \Drupal\aggregator\Annotation\AggregatorParser.

Namespace

Drupal\aggregator\Annotation
View source
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;

}

Members

Namesort descending Modifiers Type Description Overrides
AggregatorParser::$description public property The description of the plugin.
AggregatorParser::$id public property The plugin ID.
AggregatorParser::$title public property The title of the plugin.
Plugin::$definition protected property The plugin definiton read from the class annotation.
Plugin::get public function Implements Drupal\Core\Annotation\AnnotationInterface::get(). Overrides AnnotationInterface::get
Plugin::parse protected function Parses an annotation into its definition.
Plugin::__construct public function Constructs a Plugin object.