protected property FrontMatterParseException::$sourceLine in Drupal 9
The line number of where the parse error occurred.
This line number is in relation to where the parse error occurred in the source front matter content. It is different from \Exception::getLine() which is populated with the line number of where this exception was thrown in PHP.
Type: int
File
- core/
lib/ Drupal/ Component/ FrontMatter/ Exception/ FrontMatterParseException.php, line 22
Class
- FrontMatterParseException
- Defines a class for front matter parsing exceptions.
Namespace
Drupal\Component\FrontMatter\ExceptionCode
protected $sourceLine;