You are here

class FeedsParser in Feeds 8.3

Defines a Plugin annotation object for Feeds parser plugins.

Plugin Namespace: Feeds\Parser.

For a working example, see \Drupal\feeds\Feeds\Parser\SyndicationParser.

Hierarchy

Expanded class hierarchy of FeedsParser

See also

\Drupal\feeds\Plugin\Type\FeedsPluginManager

\Drupal\feeds\Plugin\Type\Parser\ParserInterface

\Drupal\feeds\Plugin\Type\PluginBase

Plugin API

5 classes are annotated with FeedsParser
CsvParser in src/Feeds/Parser/CsvParser.php
Defines a CSV feed parser.
OpmlParser in src/Feeds/Parser/OpmlParser.php
Defines an OPML feed parser.
ParserWithMappingForm in tests/modules/feeds_test_plugin/src/Feeds/Parser/ParserWithMappingForm.php
Dummy parser to test integration with the Feeds mapping form.
SitemapParser in src/Feeds/Parser/SitemapParser.php
Defines a SitemapXML feed parser.
SyndicationParser in src/Feeds/Parser/SyndicationParser.php
Defines an RSS and Atom feed parser.

File

src/Annotation/FeedsParser.php, line 19

Namespace

Drupal\feeds\Annotation
View source
class FeedsParser extends FeedsBase {

}

Members

Namesort descending Modifiers Type Description Overrides
FeedsBase::$arguments public property Constructor arguments.
FeedsBase::$configuration_form public property An optional form class that is separate from the plugin.
FeedsBase::$description public property The description of the plugin.
FeedsBase::$id public property The plugin ID.
FeedsBase::$title public property The title of the plugin.
Plugin::$definition protected property The plugin definition read from the class annotation. 1
Plugin::get public function Gets the value of an annotation. Overrides AnnotationInterface::get 5
Plugin::getClass public function Gets the class of the annotated class. Overrides AnnotationInterface::getClass
Plugin::getId public function Gets the unique ID for this annotated class. Overrides AnnotationInterface::getId
Plugin::getProvider public function Gets the name of the provider of the annotated class. Overrides AnnotationInterface::getProvider
Plugin::parse protected function Parses an annotation into its definition.
Plugin::setClass public function Sets the class of the annotated class. Overrides AnnotationInterface::setClass
Plugin::setProvider public function Sets the name of the provider of the annotated class. Overrides AnnotationInterface::setProvider
Plugin::__construct public function Constructs a Plugin object. 2