Search for format
- Search 7.x for format
- Search 8.9.x for format
- Search 10.3.x for format
- Search 11.x for format
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
FormatDateTest | class | core/ |
Tests the format date process plugin. |
FormatDateTest | class | core/ |
Tests the DateFormatterInterface::format() function. |
FormatDateTest.php | file | core/ |
|
FormatDateTest.php | file | core/ |
|
FormatDateTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
FormatDateTest::datesDataProvider | function | core/ |
Data provider of test dates. |
FormatDateTest::testAdminDefinedFormatDate | function | core/ |
Tests admin-defined formats in DateFormatterInterface::format(). |
FormatDateTest::testMigrateExceptionBadFormat | function | core/ |
Tests that date format mismatches will throw an exception. |
FormatDateTest::testMigrateExceptionMissingFromFormat | function | core/ |
Tests that missing configuration will throw an exception. |
FormatDateTest::testMigrateExceptionMissingToFormat | function | core/ |
Tests that missing configuration will throw an exception. |
FormatDateTest::testMigrateExceptionUnexpectedValue | function | core/ |
Tests that an unexpected date value will throw an exception. |
FormatDateTest::testTransform | function | core/ |
Tests transformation. |
FormattableMarkup | class | core/ |
Formats a string for HTML display by replacing variable placeholders. |
FormattableMarkup.php | file | core/ |
|
FormattableMarkup::$arguments | property | core/ |
The arguments to replace placeholders with. |
FormattableMarkup::$string | property | core/ |
The string containing placeholders. |
FormattableMarkup::count | function | core/ |
Returns the string length. |
FormattableMarkup::jsonSerialize | function | core/ |
Returns a representation of the object for use in JSON serialization. |
FormattableMarkup::placeholderEscape | function | core/ |
Escapes a placeholder replacement value if needed. |
FormattableMarkup::placeholderFormat | function | core/ |
Replaces placeholders in a string with values. |
FormattableMarkup::__construct | function | core/ |
Constructs a new class instance. |
FormattableMarkup::__toString | function | core/ |
Returns markup. |
FormattableMarkupKernelTest | class | core/ |
Provides a test covering integration of FormattableMarkup with other systems. |
FormattableMarkupKernelTest.php | file | core/ |
|
FormattableMarkupKernelTest::$modules | property | core/ |
Modules to enable. |
FormattableMarkupKernelTest::getFormattableMarkupUriArgs | function | core/ |
Gets arguments for FormattableMarkup based on Url::fromUri() parameters. |
FormattableMarkupKernelTest::providerTestFormattableMarkupUri | function | core/ |
|
FormattableMarkupKernelTest::providerTestFormattableMarkupUriWithException | function | core/ |
|
FormattableMarkupKernelTest::testFormattableMarkupUri | function | core/ |
Tests URL ":placeholders" in \Drupal\Component\Render\FormattableMarkup. |
FormattableMarkupKernelTest::testFormattableMarkupUriWithExceptionUri | function | core/ |
@dataProvider providerTestFormattableMarkupUriWithException |
FormattableMarkupTest | class | core/ |
Tests the TranslatableMarkup class. |
FormattableMarkupTest.php | file | core/ |
|
FormattableMarkupTest::$lastErrorMessage | property | core/ |
The error message of the last error in the error handler. |
FormattableMarkupTest::$lastErrorNumber | property | core/ |
The error number of the last error in the error handler. |
FormattableMarkupTest::errorHandler | function | core/ |
Custom error handler that saves the last error. |
FormattableMarkupTest::providerTestNullPlaceholder | function | core/ |
Data provider for FormattableMarkupTest::testNullPlaceholder(). |
FormattableMarkupTest::providerTestUnexpectedPlaceholder | function | core/ |
Data provider for FormattableMarkupTest::testUnexpectedPlaceholder(). |
FormattableMarkupTest::testCount | function | core/ |
@covers ::count |
FormattableMarkupTest::testNoReplacementUnsupportedVariable | function | core/ |
@group legacy |
FormattableMarkupTest::testNullPlaceholder | function | core/ |
@covers ::__toString @dataProvider providerTestNullPlaceholder @group legacy |
FormattableMarkupTest::testToString | function | core/ |
@covers ::__toString @covers ::jsonSerialize |
FormattableMarkupTest::testUnexpectedPlaceholder | function | core/ |
@covers ::__toString @dataProvider providerTestUnexpectedPlaceholder |
FormattedDateDiff | class | core/ |
Contains a formatted time difference. |
FormattedDateDiff.php | file | core/ |
|
FormattedDateDiff::$maxAge | property | core/ |
The maximum time in seconds that this string may be cached. |
FormattedDateDiff::$string | property | core/ |
The actual formatted time difference. |
FormattedDateDiff::getCacheMaxAge | function | core/ |
The maximum age for which this object may be cached. |
FormattedDateDiff::getString | function | core/ |
|
FormattedDateDiff::toRenderable | function | core/ |
Returns a render array representation of the object. |
FormattedDateDiff::__construct | function | core/ |
Creates a new FormattedDateDiff instance. |
Pagination
- Previous page
- Page 26
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.