Search for all

  1. Search 7.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
PluralVariants::getSourceElement function core/modules/config_translation/src/FormElement/PluralVariants.php Returns the source element for a given configuration definition.
PluralVariants::getTranslationElement function core/modules/config_translation/src/FormElement/PluralVariants.php Returns the translation form element for a given configuration definition.
PluralVariants::setConfig function core/modules/config_translation/src/FormElement/PluralVariants.php Sets configuration based on a nested form value array.
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 Get header metadata.
PoDatabaseReader::getLangcode function core/modules/locale/src/PoDatabaseReader.php Get language code.
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 Reads and returns a PoItem (source/translation pair).
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 Set language code.
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 Get header metadata.
PoDatabaseWriter::getLangcode function core/modules/locale/src/PoDatabaseWriter.php Get language code.
PoDatabaseWriter::getOptions function core/modules/locale/src/PoDatabaseWriter.php Get the options used by the writer.
PoDatabaseWriter::getReport function core/modules/locale/src/PoDatabaseWriter.php Get the report of the write operations.
PoDatabaseWriter::importString function core/modules/locale/src/PoDatabaseWriter.php Imports one string into the database.
PoDatabaseWriter::setHeader function core/modules/locale/src/PoDatabaseWriter.php Implements Drupal\Component\Gettext\PoMetadataInterface::setHeader().
PoDatabaseWriter::setLangcode function core/modules/locale/src/PoDatabaseWriter.php Set language code.
PoDatabaseWriter::setOptions function core/modules/locale/src/PoDatabaseWriter.php Set the options for the current writer.
PoDatabaseWriter::setReport function core/modules/locale/src/PoDatabaseWriter.php Set the report array of write operations.
PoDatabaseWriter::writeItem function core/modules/locale/src/PoDatabaseWriter.php Writes the given item.
PoDatabaseWriter::writeItems function core/modules/locale/src/PoDatabaseWriter.php Writes all or the given amount of items.
PoDatabaseWriter::__construct function core/modules/locale/src/PoDatabaseWriter.php Constructor, initialize reporting array.
PoHeader class core/lib/Drupal/Component/Gettext/PoHeader.php Gettext PO header handler.
PoHeader.php file core/lib/Drupal/Component/Gettext/PoHeader.php
PoHeader::$authors property core/lib/Drupal/Component/Gettext/PoHeader.php Author(s) of the file.
PoHeader::$langcode property core/lib/Drupal/Component/Gettext/PoHeader.php Language code.
PoHeader::$languageName property core/lib/Drupal/Component/Gettext/PoHeader.php Human readable language name.
PoHeader::$pluralForms property core/lib/Drupal/Component/Gettext/PoHeader.php Formula for the plural form.
PoHeader::$poDate property core/lib/Drupal/Component/Gettext/PoHeader.php Date the po file got created.
PoHeader::$projectName property core/lib/Drupal/Component/Gettext/PoHeader.php Name of the project the translation belongs to.
PoHeader::evaluatePlural function core/lib/Drupal/Component/Gettext/PoHeader.php Evaluate the plural element stack using a plural value.
PoHeader::getLanguageName function core/lib/Drupal/Component/Gettext/PoHeader.php Gets the human readable language name.
PoHeader::getPluralForms function core/lib/Drupal/Component/Gettext/PoHeader.php Gets the plural form.
PoHeader::getProjectName function core/lib/Drupal/Component/Gettext/PoHeader.php Gets the project name.
PoHeader::parseArithmetic function core/lib/Drupal/Component/Gettext/PoHeader.php Parses and sanitizes an arithmetic formula into a plural element stack.
PoHeader::parseHeader function core/lib/Drupal/Component/Gettext/PoHeader.php Parses a Gettext Portable Object file header.

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