You are here

private property PoStreamReader::$_context in Service Container 7

Same name and namespace in other branches
  1. 7.2 lib/Drupal/Component/Gettext/PoStreamReader.php \Drupal\Component\Gettext\PoStreamReader::_context

Parser context for the stream reader state machine.

Possible contexts are:

  • 'COMMENT' (#)
  • 'MSGID' (msgid)
  • 'MSGID_PLURAL' (msgid_plural)
  • 'MSGCTXT' (msgctxt)
  • 'MSGSTR' (msgstr or msgstr[])
  • 'MSGSTR_ARR' (msgstr_arg)

Type: string

File

lib/Drupal/Component/Gettext/PoStreamReader.php, line 40
Contains \Drupal\Component\Gettext\PoStreamReader.

Class

PoStreamReader
Implements Gettext PO stream reader.

Namespace

Drupal\Component\Gettext

Code

private $_context = 'COMMENT';