PluralFormula::$state

Type: \Drupal\Core\State\StateInterface File core/modules/locale/src/PluralFormula.php, line 23 Class PluralFormula Manages the storage of plural formula per language in state. Namespace Drupal\locale Code protected $state;

PluralFormula::$languageManager

Type: \Drupal\Core\Language\LanguageManagerInterface File core/modules/locale/src/PluralFormula.php, line 18 Class PluralFormula Manages the storage of plural formula per language in state. Namespace Drupal\locale Code protected $languageManager;

PluralFormula::$formulae

The plural formula and count keyed by langcode. For example the structure looks like this: [ 'de' => [ 'plurals' => 2, 'formula' => [ // @todo ] ], ] Type: [] File core/modules/locale/src/PluralFormula.php, line 41 Class PluralFormula Manages the storage of plural formula per language in state. Namespace Drupal\locale Code protected $formulae;

PluralFormula

Manages the storage of plural formula per language in state. Hierarchy class \Drupal\locale\PluralFormula implements PluralFormulaInterface See also \Drupal\locale\PoDatabaseWriter::setHeader() File core/modules/locale/src/PluralFormula.php, line 13 Namespace Drupal\locale Members Name Modifiers Type Description PluralFormula::$formulae protected property The plural formula and count keyed by langcode. PluralFormula::$languageManager protected property PluralF

PlainTextOutput::renderFromHtml

public static PlainTextOutput::renderFromHtml($string) Transforms a given HTML string into to a context-appropriate output string. This transformation consists of performing the formatting appropriate to a given output context (e.g., plain-text email subjects, HTML attribute values). Parameters string|object $string: An HTML string or an object with a ::__toString() magic method returning HTML markup. The source HTML markup is considered ready for output into HTML fragments and thus already pr

PlainTextOutput

Provides an output strategy for transforming HTML into simple plain text. Use this when rendering a given HTML string into a plain text string that does not need special formatting, such as a label or an email subject. Returns a string with HTML tags stripped and HTML entities decoded suitable for email or other non-HTML contexts. Hierarchy class \Drupal\Component\Render\PlainTextOutput implements OutputStrategyInterface File core/lib/Drupal/Component/Render/PlainTextOutput.php, line 16 N

PlaceholderStrategyInterface::processPlaceholders

public PlaceholderStrategyInterface::processPlaceholders(array $placeholders) Processes placeholders to render them with different strategies. Parameters array $placeholders: The placeholders to process, with the keys being the markup for the placeholders and the values the corresponding render array describing the data to be rendered. Return value array The resulting placeholders, with a subset of the keys of $placeholders (and those being the markup for the placeholders) but with the corres

PlaceholderStrategyInterface

Provides an interface for defining a placeholder strategy service. Hierarchy interface \Drupal\Core\Render\Placeholder\PlaceholderStrategyInterface File core/lib/Drupal/Core/Render/Placeholder/PlaceholderStrategyInterface.php, line 8 Namespace Drupal\Core\Render\Placeholder Members Name Modifiers Type Description PlaceholderStrategyInterface::processPlaceholders public function Processes placeholders to render them with different strategies.

PlaceholderInterface::uniqueIdentifier

public PlaceholderInterface::uniqueIdentifier() Returns a unique identifier for this object. File core/lib/Drupal/Core/Database/Query/PlaceholderInterface.php, line 13 Class PlaceholderInterface Interface for a query that accepts placeholders. Namespace Drupal\Core\Database\Query Code public function uniqueIdentifier();

PlaceholderInterface::nextPlaceholder

public PlaceholderInterface::nextPlaceholder() Returns the next placeholder ID for the query. Return value The next available placeholder ID as an integer. File core/lib/Drupal/Core/Database/Query/PlaceholderInterface.php, line 21 Class PlaceholderInterface Interface for a query that accepts placeholders. Namespace Drupal\Core\Database\Query Code public function nextPlaceholder();