Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. FrontMatterParseException.php

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;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal