private property 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\GettextCode
private $_context = 'COMMENT';
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!Gettext!PoStreamReader.php/property/PoStreamReader::_context/8.1.x