36 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 - CommentPermalinkFormatter::getEntityUrl in core/
modules/ comment/ src/ Plugin/ Field/ FieldFormatter/ CommentPermalinkFormatter.php - 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 - DisplayPluginBase::optionsSummary in core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginBase.php - DisplayTest::optionsSummary in core/
modules/ views/ tests/ modules/ views_test_data/ src/ Plugin/ views/ display/ DisplayTest.php - 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 - 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 - LinkSeparateFormatter::viewElements in core/
modules/ link/ src/ Plugin/ Field/ FieldFormatter/ LinkSeparateFormatter.php - MenuLink::prepareRow in core/
modules/ menu_link_content/ src/ Plugin/ migrate/ source/ MenuLink.php - 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 - PathPluginBase::optionsSummary in core/
modules/ views/ src/ Plugin/ views/ display/ PathPluginBase.php - RestExport::optionsSummary in core/
modules/ rest/ src/ Plugin/ views/ display/ RestExport.php - Schema::prepareComment in core/
modules/ mysql/ src/ Driver/ Database/ mysql/ Schema.php - SchemaTest::checkSchemaComment in core/
modules/ mysql/ tests/ src/ Kernel/ mysql/ SchemaTest.php - 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 - 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'].
- 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.