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

Breadcrumb

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

function InflectorInterface::pluralize

Returns the plural forms of a string.

If the method can't determine the form with certainty, several possible plurals are returned.

Return value

string[]

3 methods override InflectorInterface::pluralize()
EnglishInflector::pluralize in vendor/symfony/string/Inflector/EnglishInflector.php
Returns the plural forms of a string.
FrenchInflector::pluralize in vendor/symfony/string/Inflector/FrenchInflector.php
Returns the plural forms of a string.
SpanishInflector::pluralize in vendor/symfony/string/Inflector/SpanishInflector.php
Returns the plural forms of a string.

File

vendor/symfony/string/Inflector/InflectorInterface.php, line 32

Class

InflectorInterface

Namespace

Symfony\Component\String\Inflector

Code

public function pluralize(string $singular) : array;
RSS feed
Powered by Drupal