You are here

public function NodeRevisionDeleteInterface::getTimeNumberString in Node Revision Delete 8

Return the time option in singular or plural.

Parameters

string $number: The number.

string $time: The time option (days, weeks or months).

Return value

string The singular or plural value for the time.

1 method overrides NodeRevisionDeleteInterface::getTimeNumberString()
NodeRevisionDelete::getTimeNumberString in src/NodeRevisionDelete.php
Return the time option in singular or plural.

File

src/NodeRevisionDeleteInterface.php, line 83

Class

NodeRevisionDeleteInterface
Interface NodeRevisionDeleteInterface.

Namespace

Drupal\node_revision_delete

Code

public function getTimeNumberString($number, $time);