You are here

protected function XmlParser::configSourceLabel in Feeds extensible parsers 8

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.

Overrides ParserBase::configSourceLabel

File

src/Feeds/Parser/XmlParser.php, line 202

Class

XmlParser
Defines a XML parser using XPath.

Namespace

Drupal\feeds_ex\Feeds\Parser

Code

protected function configSourceLabel() {
  return $this
    ->t('xpath source');
}