class FeedsSource in Feeds 8.3
Defines a Plugin annotation object for Feeds source plugins.
Plugin Namespace: Feeds\Source.
For a working example, see \Drupal\feeds\Feeds\Source\BasicFieldSource.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\feeds\Annotation\FeedsBase
- class \Drupal\feeds\Annotation\FeedsSource
- class \Drupal\feeds\Annotation\FeedsBase
Expanded class hierarchy of FeedsSource
See also
\Drupal\feeds\Plugin\Type\FeedsPluginManager
\Drupal\feeds\Plugin\Type\Source\SourceInterface
\Drupal\feeds\Plugin\Type\PluginBase
2 classes are annotated with FeedsSource
- BasicFieldSource in src/
Feeds/ Source/ BasicFieldSource.php - A source plugin that provides feed type fields as mapping sources.
- SiteSource in tests/
modules/ feeds_test_extra_sources/ src/ Feeds/ Source/ SiteSource.php - A source exposing site config.
File
- src/
Annotation/ FeedsSource.php, line 19
Namespace
Drupal\feeds\AnnotationView source
class FeedsSource extends FeedsBase {
/**
* The field types a source plugin applies to.
*
* @var array
*/
public $field_types;
}
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. | |
FeedsSource:: |
public | property | The field types a source plugin applies to. | |
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 |