You are here

public function FeedTypeInterface::getCustomSource in Feeds 8.3

Gets a custom a source.

Parameters

string $name: The name of the custom source to get.

Return value

array|null The properties of the custom source:

  • label A human readable name.
  • value The value to extract from the feed.
  • description (optional) A description of the source.

Null if the custom source doesn't exist.

1 method overrides FeedTypeInterface::getCustomSource()
FeedType::getCustomSource in src/Entity/FeedType.php
Gets a custom a source.

File

src/FeedTypeInterface.php, line 214

Class

FeedTypeInterface
Provides an interface defining a feeds feed type entity.

Namespace

Drupal\feeds

Code

public function getCustomSource($name);