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
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\feeds\Annotation\FeedsBase
- class \Drupal\feeds\Annotation\FeedsParser
- class \Drupal\feeds\Annotation\FeedsBase
Expanded class hierarchy of FeedsParser
See also
\Drupal\feeds\Plugin\Type\FeedsPluginManager
\Drupal\feeds\Plugin\Type\Parser\ParserInterface
\Drupal\feeds\Plugin\Type\PluginBase
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\AnnotationView source
class FeedsParser extends FeedsBase {
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FeedsBase:: |
public | property | Constructor arguments. | |
FeedsBase:: |
public | property | An optional form class that is separate from the plugin. | |
FeedsBase:: |
public | property | The description of the plugin. | |
FeedsBase:: |
public | property | The plugin ID. | |
FeedsBase:: |
public | property | The title of the plugin. | |
Plugin:: |
protected | property | The plugin definition read from the class annotation. | 1 |
Plugin:: |
public | function |
Gets the value of an annotation. Overrides AnnotationInterface:: |
5 |
Plugin:: |
public | function |
Gets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the unique ID for this annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
protected | function | Parses an annotation into its definition. | |
Plugin:: |
public | function |
Sets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Sets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function | Constructs a Plugin object. | 2 |