37 calls to Unicode::truncate()
- Block::optionsSummary in core/
modules/ views/ src/ Plugin/ views/ display/ Block.php - Provide the summary for page options in the views UI.
- 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 - Tests 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.
- DisplayExtenderTest::optionsSummary in core/
modules/ views/ tests/ modules/ views_test_data/ src/ Plugin/ views/ display_extender/ DisplayExtenderTest.php - Provide the default summary for options in the views UI.
- DisplayPluginBase::optionsSummary in core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginBase.php - Provides the default summary for options in the views UI.
- DisplayTest::optionsSummary in core/
modules/ views/ tests/ modules/ views_test_data/ src/ Plugin/ views/ display/ DisplayTest.php - Provides the default summary for options in the views UI.
- DisplayTest::testDisplayTitleInButtonsXss in core/
modules/ views_ui/ tests/ src/ Functional/ DisplayTest.php - Ensures that no XSS is possible for buttons.
- InOperator::adminSummary in core/
modules/ views/ src/ Plugin/ views/ filter/ InOperator.php - Display the filter on the administrative summary.
- LinkFieldTest::doTestLinkFormatter in core/
modules/ link/ tests/ src/ Functional/ LinkFieldTest.php - Tests the default 'link' formatter.
- LinkFieldTest::doTestLinkSeparateFormatter in core/
modules/ link/ tests/ src/ Functional/ LinkFieldTest.php - Tests the 'link_separate' formatter.
- LinkFieldTest::testLinkFormatterQueryParametersDuplication in core/
modules/ link/ tests/ src/ Functional/ LinkFieldTest.php - Tests the default 'link' formatter with complex query parameters.
- 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 - MenuParentFormSelector::parentSelectOptionsTreeWalk in core/
lib/ Drupal/ Core/ Menu/ MenuParentFormSelector.php - Iterates over all items in the tree to prepare the parents select options.
- Page::optionsSummary in core/
modules/ views/ src/ Plugin/ views/ display/ Page.php - Provides the default summary for options in the views UI.
- PathPluginBase::optionsSummary in core/
modules/ views/ src/ Plugin/ views/ display/ PathPluginBase.php - Provides the default summary for options in the views UI.
- RestExport::optionsSummary in core/
modules/ rest/ src/ Plugin/ views/ display/ RestExport.php - Provides the default summary for options in the views UI.
- Schema::prepareComment in core/
modules/ mysql/ src/ Driver/ Database/ mysql/ Schema.php - Prepare a table or column comment for database query.
- SchemaTest::checkSchemaComment in core/
modules/ mysql/ tests/ src/ Kernel/ mysql/ 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.
- ViewFormBase::getDisplayLabel in core/
modules/ views_ui/ src/ ViewFormBase.php - Placeholder function for overriding $display['display_title'].
- views_ui_truncate in core/
modules/ views_ui/ views_ui.module - Truncate strings to a set length and provide a '...' if they truncated.
- WizardTest::testWizardFieldLength in core/
modules/ views_ui/ tests/ src/ Functional/ WizardTest.php - Tests filling in the wizard with really long strings.
- _filter_url_trim in core/
modules/ filter/ filter.module - Shortens a long URL to a given length ending with an ellipsis.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.