You are here

abstract protected function ParserBase::validateExpression in Feeds extensible parsers 8

Validates an expression.

Parameters

string &$expression: The expression to validate.

Return value

string|null Return the error string, or null if validation was passed.

2 calls to ParserBase::validateExpression()
ParserBase::configFormValidate in src/Feeds/Parser/ParserBase.php
ParserBase::mappingFormValidate in src/Feeds/Parser/ParserBase.php
Validate handler for the mapping form.
4 methods override ParserBase::validateExpression()
JmesPathParser::validateExpression in src/Feeds/Parser/JmesPathParser.php
Validates an expression.
JsonPathParser::validateExpression in src/Feeds/Parser/JsonPathParser.php
Validates an expression.
TestUiParser::validateExpression in tests/modules/feeds_ex_test/src/Feeds/Parser/TestUiParser.php
Validates an expression.
XmlParser::validateExpression in src/Feeds/Parser/XmlParser.php
Validates an expression.

File

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

Class

ParserBase
The Feeds extensible parser.

Namespace

Drupal\feeds_ex\Feeds\Parser

Code

protected abstract function validateExpression(&$expression);