You are here

28 calls to Unicode::truncate() in Drupal 8

BookManager::recurseTableOfContents in core/modules/book/src/BookManager.php
Recursively processes and formats book links for getTableOfContents().
CommentAdminOverview::buildForm in core/modules/comment/src/Form/CommentAdminOverview.php
Form constructor for the comment overview administration form.
CommentAdminTest::testApprovalAdminInterface in core/modules/comment/tests/src/Functional/Views/CommentAdminTest.php
Test comment approval functionality through admin/content/comment.
CommentForm::buildEntity in core/modules/comment/src/CommentForm.php
Builds an updated entity object based upon the submitted form values.
CommentPermalinkFormatter::getEntityUrl in core/modules/comment/src/Plugin/Field/FieldFormatter/CommentPermalinkFormatter.php
Gets the URI elements of the entity.
DbLogController::overview in core/modules/dblog/src/Controller/DbLogController.php
Displays a listing of database log messages.
DbLogTest::assertLogMessage in core/modules/dblog/tests/src/Functional/DbLogTest.php
Confirms that a log message appears on the database log overview screen.
DbLogTest::doUser in core/modules/dblog/tests/src/Functional/DbLogTest.php
Generates and then verifies some user events.
DefaultProcessor::process in core/modules/aggregator/src/Plugin/aggregator/processor/DefaultProcessor.php
Processes feed data.
InOperator::adminSummary in core/modules/views/src/Plugin/views/filter/InOperator.php
Display the filter on the administrative summary
LinkFieldTest::testLinkFormatter in core/modules/link/tests/src/Functional/LinkFieldTest.php
Tests the default 'link' formatter.
LinkFieldTest::testLinkSeparateFormatter in core/modules/link/tests/src/Functional/LinkFieldTest.php
Tests the 'link_separate' formatter.
LinkFormatter::viewElements in core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php
Builds a renderable array for a field value.
LinkSeparateFormatter::viewElements in core/modules/link/src/Plugin/Field/FieldFormatter/LinkSeparateFormatter.php
Builds a renderable array for a field value.
MenuLink::prepareRow in core/modules/menu_link_content/src/Plugin/migrate/source/MenuLink.php
Adds additional data to the row.
MenuLinkTest::providerSource in core/modules/menu_link_content/tests/src/Kernel/Plugin/migrate/source/MenuLinkTest.php
The data provider.
MenuParentFormSelector::parentSelectOptionsTreeWalk in core/lib/Drupal/Core/Menu/MenuParentFormSelector.php
Iterates over all items in the tree to prepare the parents select options.
PathAliasListBuilder::buildRow in core/modules/path/src/PathAliasListBuilder.php
Builds a row for an entity in the entity listing.
Schema::prepareComment in core/lib/Drupal/Core/Database/Driver/mysql/Schema.php
Prepare a table or column comment for database query.
SchemaTest::checkSchemaComment in core/tests/Drupal/KernelTests/Core/Database/SchemaTest.php
Checks that a table or column comment matches a given description.
SearchPageTextTest::testSearchText in core/modules/search/tests/src/Functional/SearchPageTextTest.php
Tests the failed search text, and various other text on the search page.
SearchPluginBase::suggestedTitle in core/modules/search/src/Plugin/SearchPluginBase.php
Provides a suggested title for a page of search results.
search_excerpt in core/modules/search/search.module
Returns snippets from a piece of text, with search keywords highlighted.
template_preprocess_username in core/modules/user/user.module
Prepares variables for username templates.
text_summary in core/modules/text/text.module
Generates a trimmed, formatted version of a text field value.
UnicodeTest::testTruncate in core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php
Tests multibyte truncate.
_filter_url_trim in core/modules/filter/filter.module
Shortens long URLs to http://www.example.com/long/url
_search_index_truncate in core/modules/search/search.module
Helper function for array_walk in search_index_split.