You are here

protected function ParserBase::configSourceLabel in Feeds 8.3

Returns the label for single source.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup|null A translated string if the source has a special name. Null otherwise.

1 call to ParserBase::configSourceLabel()
ParserBase::mappingFormAlter in src/Feeds/Parser/ParserBase.php
Alter mapping form.
1 method overrides ParserBase::configSourceLabel()
CsvParser::configSourceLabel in src/Feeds/Parser/CsvParser.php
Returns the label for single source.

File

src/Feeds/Parser/ParserBase.php, line 22

Class

ParserBase
Base class for Feeds parsers.

Namespace

Drupal\feeds\Feeds\Parser

Code

protected function configSourceLabel() {
  return NULL;
}