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

Breadcrumb

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

function PoItem::getSource

Gets the source string(s) if the translation has plurals.

Return value

string|array The source string or array of strings if it has plurals.

File

core/lib/Drupal/Component/Gettext/PoItem.php, line 111

Class

PoItem
PoItem handles one translation.

Namespace

Drupal\Component\Gettext

Code

public function getSource() {
    return $this->source;
}

API Navigation

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