Search for formatPlural

  1. Search 7.x for formatPlural
  2. Search 9.5.x for formatPlural
  3. Search 8.9.x for formatPlural
  4. Search 11.x for formatPlural
  5. Other projects
Title Object type File name Summary
NumericFormatPluralTest class core/modules/views/tests/src/Functional/Plugin/NumericFormatPluralTest.php Tests the creation of numeric fields.
NumericFormatPluralTest.php file core/modules/views/tests/src/Functional/Plugin/NumericFormatPluralTest.php
NumericFormatPluralTest::$defaultTheme property core/modules/views/tests/src/Functional/Plugin/NumericFormatPluralTest.php The theme to install as the default for testing.
NumericFormatPluralTest::$modules property core/modules/views/tests/src/Functional/Plugin/NumericFormatPluralTest.php Modules to install.
NumericFormatPluralTest::$testViews property core/modules/views/tests/src/Functional/Plugin/NumericFormatPluralTest.php Views used by this test.
NumericFormatPluralTest::createFile function core/modules/views/tests/src/Functional/Plugin/NumericFormatPluralTest.php Creates and saves a test file.
NumericFormatPluralTest::setUp function core/modules/views/tests/src/Functional/Plugin/NumericFormatPluralTest.php Sets up the test.
NumericFormatPluralTest::testNumericFormatPlural function core/modules/views/tests/src/Functional/Plugin/NumericFormatPluralTest.php Tests plural formatting setting on a numeric views handler.
PoItem::formatPlural function core/lib/Drupal/Component/Gettext/PoItem.php Formats a plural translation.
StringTranslationTrait::formatPlural function core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php Formats a string containing a count of items.
StringTranslationTraitTest::testFormatPlural function core/tests/Drupal/Tests/Core/StringTranslation/StringTranslationTraitTest.php @covers ::formatPlural
TestTranslationManager::formatPlural function core/modules/user/tests/src/Unit/PermissionHandlerTest.php
TranslationInterface::formatPlural function core/lib/Drupal/Core/StringTranslation/TranslationInterface.php Formats a string containing a count of items.
TranslationManager::formatPlural function core/lib/Drupal/Core/StringTranslation/TranslationManager.php
TranslationManagerTest::providerTestFormatPlural function core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php Provides some test data for formatPlural()
TranslationManagerTest::testFormatPlural function core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php @dataProvider providerTestFormatPlural

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