Search for format
- Search 7.x for format
- Search 9.5.x for format
- Search 8.9.x for format
- Search 10.3.x for format
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
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 install. |
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::providerTestUnexpectedPlaceholder | function | core/ |
Data provider for FormattableMarkupTest::testUnexpectedPlaceholder(). |
FormattableMarkupTest::testCount | function | core/ |
@covers ::count |
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. |
FormatterBase | class | core/ |
Base class for 'Field formatter' plugin implementations. |
FormatterBase.php | file | core/ |
|
FormatterBase::$fieldDefinition | property | core/ |
The field definition. |
FormatterBase::$label | property | core/ |
The label display setting. |
FormatterBase::$settings | property | core/ |
The formatter settings. |
FormatterBase::$viewMode | property | core/ |
The view mode. |
FormatterBase::create | function | core/ |
Creates an instance of the plugin. |
FormatterBase::getFieldSetting | function | core/ |
Returns the value of a field setting. |
FormatterBase::getFieldSettings | function | core/ |
Returns the array of field settings. |
FormatterBase::isApplicable | function | core/ |
Returns if the formatter can be used for the provided field. |
FormatterBase::prepareView | function | core/ |
Allows formatters to load information for field values being displayed. |
FormatterBase::settingsForm | function | core/ |
Returns a form to configure settings for the formatter. |
FormatterBase::settingsSummary | function | core/ |
Returns a short summary for the current formatter settings. |
FormatterBase::view | function | core/ |
Builds a renderable array for a fully themed field. |
FormatterBase::__construct | function | core/ |
Constructs a FormatterBase object. |
FormatterInterface | interface | core/ |
Interface definition for field formatter plugins. |
Pagination
- Previous page
- Page 25
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.