You are here

protected property FrontMatterParseException::$sourceLine in Drupal 10

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Component/FrontMatter/Exception/FrontMatterParseException.php \Drupal\Component\FrontMatter\Exception\FrontMatterParseException::sourceLine

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\Exception

Code

protected $sourceLine;