Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 8.9.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
PluralTranslatableMarkup::createFromTranslatedString function core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php Constructs a new class instance from already translated markup.
PluralTranslatableMarkup::getPluralIndex function core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php Gets the plural index through the gettext formula.
PluralTranslatableMarkup::render function core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php Renders the object as a string.
PluralTranslatableMarkup::__construct function core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php Constructs a new PluralTranslatableMarkup object.
PluralTranslatableMarkup::__sleep function core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php Magic __sleep() method to avoid serializing the string translator.
PluralTranslatableMarkupTest class core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php Tests the TranslatableMarkup class.
PluralTranslatableMarkupTest.php file core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php
PluralTranslatableMarkupTest::providerPluralTranslatableMarkupSerialization function core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php Data provider for ::testPluralTranslatableMarkupSerialization().
PluralTranslatableMarkupTest::testMissingPluralTranslation function core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php Tests when the plural translation is missing.
PluralTranslatableMarkupTest::testPluralTranslatableMarkupSerialization function core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php Tests serialization of PluralTranslatableMarkup().
PluralTranslation class core/lib/Drupal/Core/Annotation/PluralTranslation.php Defines an annotation object for strings that require plural forms.
PluralTranslation.php file core/lib/Drupal/Core/Annotation/PluralTranslation.php
PluralTranslation::$context property core/lib/Drupal/Core/Annotation/PluralTranslation.php The context the source strings belong to.
PluralTranslation::$plural property core/lib/Drupal/Core/Annotation/PluralTranslation.php The string for the plural case.
PluralTranslation::$singular property core/lib/Drupal/Core/Annotation/PluralTranslation.php The string for the singular case.
PluralTranslation::get function core/lib/Drupal/Core/Annotation/PluralTranslation.php Gets the value of an annotation.
PluralTranslation::__construct function core/lib/Drupal/Core/Annotation/PluralTranslation.php Constructs a new class instance.
PluralTranslationTest class core/tests/Drupal/Tests/Core/Annotation/PluralTranslationTest.php @coversDefaultClass \Drupal\Core\Annotation\PluralTranslation[[api-linebreak]]
@group Annotation
PluralTranslationTest.php file core/tests/Drupal/Tests/Core/Annotation/PluralTranslationTest.php
PluralTranslationTest::providerTestGet function core/tests/Drupal/Tests/Core/Annotation/PluralTranslationTest.php Provides data to self::testGet().
PluralTranslationTest::providerTestMissingData function core/tests/Drupal/Tests/Core/Annotation/PluralTranslationTest.php
PluralTranslationTest::testGet function core/tests/Drupal/Tests/Core/Annotation/PluralTranslationTest.php @covers ::get[[api-linebreak]]
PluralTranslationTest::testMissingData function core/tests/Drupal/Tests/Core/Annotation/PluralTranslationTest.php @dataProvider providerTestMissingData
PluralVariants class core/modules/config_translation/src/FormElement/PluralVariants.php Defines form elements for plurals in configuration translation.
PluralVariants.php file core/modules/config_translation/src/FormElement/PluralVariants.php
PluralVariants::getSourceElement function core/modules/config_translation/src/FormElement/PluralVariants.php
PluralVariants::getTranslationElement function core/modules/config_translation/src/FormElement/PluralVariants.php
PluralVariants::setConfig function core/modules/config_translation/src/FormElement/PluralVariants.php
PoDatabaseReader class core/modules/locale/src/PoDatabaseReader.php Gettext PO reader working with the locale module database.
PoDatabaseReader.php file core/modules/locale/src/PoDatabaseReader.php
PoDatabaseReader::$langcode property core/modules/locale/src/PoDatabaseReader.php Language code of the language being read from the database.
PoDatabaseReader::$options property core/modules/locale/src/PoDatabaseReader.php An associative array indicating which type of strings should be read.
PoDatabaseReader::$result property core/modules/locale/src/PoDatabaseReader.php Store the result of the query so it can be iterated later.
PoDatabaseReader::getHeader function core/modules/locale/src/PoDatabaseReader.php
PoDatabaseReader::getLangcode function core/modules/locale/src/PoDatabaseReader.php
PoDatabaseReader::getOptions function core/modules/locale/src/PoDatabaseReader.php Get the options used by the reader.
PoDatabaseReader::loadStrings function core/modules/locale/src/PoDatabaseReader.php Builds and executes a database query based on options set earlier.
PoDatabaseReader::readItem function core/modules/locale/src/PoDatabaseReader.php
PoDatabaseReader::readString function core/modules/locale/src/PoDatabaseReader.php Get the database result resource for the given language and options.
PoDatabaseReader::setHeader function core/modules/locale/src/PoDatabaseReader.php Implements Drupal\Component\Gettext\PoMetadataInterface::setHeader().
PoDatabaseReader::setLangcode function core/modules/locale/src/PoDatabaseReader.php
PoDatabaseReader::setOptions function core/modules/locale/src/PoDatabaseReader.php Set the options for the current reader.
PoDatabaseReader::__construct function core/modules/locale/src/PoDatabaseReader.php Constructor, initializes with default options.
PoDatabaseWriter class core/modules/locale/src/PoDatabaseWriter.php Gettext PO writer working with the locale module database.
PoDatabaseWriter.php file core/modules/locale/src/PoDatabaseWriter.php
PoDatabaseWriter::$header property core/modules/locale/src/PoDatabaseWriter.php Header of the po file written to the database.
PoDatabaseWriter::$langcode property core/modules/locale/src/PoDatabaseWriter.php Language code of the language being written to the database.
PoDatabaseWriter::$options property core/modules/locale/src/PoDatabaseWriter.php An associative array indicating what data should be overwritten, if any.
PoDatabaseWriter::$report property core/modules/locale/src/PoDatabaseWriter.php Associative array summarizing the number of changes done.
PoDatabaseWriter::getHeader function core/modules/locale/src/PoDatabaseWriter.php

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.