You are here

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

Expanded class hierarchy of FeedsSource

See also

\Drupal\feeds\Plugin\Type\FeedsPluginManager

\Drupal\feeds\Plugin\Type\Source\SourceInterface

\Drupal\feeds\Plugin\Type\PluginBase

Plugin API

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\Annotation
View source
class FeedsSource extends FeedsBase {

  /**
   * The field types a source plugin applies to.
   *
   * @var array
   */
  public $field_types;

}

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.
FeedsSource::$field_types public property The field types a source plugin applies to.
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