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

core/lib/Drupal/Component/Gettext/PoStreamReader.php, line 35

Class

PoStreamReader
Implements Gettext PO stream reader.

Namespace

Drupal\Component\Gettext

Code

private $_context = 'COMMENT';
doc_Drupal
2016-10-29 09:34:42
Comments
Leave a Comment

Please login to continue.