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

Breadcrumb

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

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

protected $context = 'COMMENT';

API Navigation

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