73 calls to Link::fromTextAndUrl() in Drupal 10
- block_help in core/
modules/ block/ block.module - Implements hook_help().
- BookController::adminOverview in core/
modules/ book/ src/ Controller/ BookController.php - Returns an administrative overview of all books.
- BookController::bookRender in core/
modules/ book/ src/ Controller/ BookController.php - Prints a listing of all books.
- BookMultilingualTest::assertNodeLinkIsCorrectlyTranslated in core/
modules/ book/ tests/ src/ Kernel/ BookMultilingualTest.php - Asserts a node link is correctly translated.
- BookMultilingualTest::testMultilingualBookBreadcrumbBuilder in core/
modules/ book/ tests/ src/ Kernel/ BookMultilingualTest.php - Tests various book breadcrumb builder methods return correct translations.
- BookTestTrait::checkBookNode in core/
modules/ book/ tests/ src/ Functional/ BookTestTrait.php - Checks the outline of sub-pages; previous, up, and next.
- claro_preprocess_admin_block_content in core/
themes/ claro/ claro.theme - Implements template_preprocess_HOOK() for admin_block.
- claro_preprocess_block_content_add_list in core/
themes/ claro/ claro.theme - Implements template_preprocess_HOOK() for block_content_add_list.
- claro_preprocess_node_add_list in core/
themes/ claro/ claro.theme - Implements template_preprocess_HOOK() for node_add_list.
- CommentForm::save in core/
modules/ comment/ src/ CommentForm.php - Form submission handler for the 'save' action.
- CommentLinksTest::testLinkApprove in core/
modules/ comment/ tests/ src/ Kernel/ Views/ CommentLinksTest.php - Tests the comment approve link.
- CommentLinksTest::testLinkReply in core/
modules/ comment/ tests/ src/ Kernel/ Views/ CommentLinksTest.php - Tests the comment reply link.
- ContentTranslationController::overview in core/
modules/ content_translation/ src/ Controller/ ContentTranslationController.php - Builds the translations overview page.
- DbLogController::overview in core/
modules/ dblog/ src/ Controller/ DbLogController.php - Displays a listing of database log messages.
- DbLogTest::verifyLinkEscaping in core/
modules/ dblog/ tests/ src/ Functional/ DbLogTest.php - Tests the escaping of links in the operation row of a database log detail page.
- DefaultViewsTest::setUp in core/
modules/ views/ tests/ src/ Functional/ DefaultViewsTest.php - FieldStorageConfigListBuilder::buildRow in core/
modules/ field_ui/ src/ FieldStorageConfigListBuilder.php - Builds a row for an entity in the entity listing.
- FieldUrlTest::testFieldUrl in core/
modules/ views/ tests/ src/ Kernel/ Handler/ FieldUrlTest.php - field_help in core/
modules/ field/ field.module - Implements hook_help().
- FormErrorHandler::displayErrorMessages in core/
modules/ inline_form_errors/ src/ FormErrorHandler.php - Loops through and displays all form errors.
- ForumForm::save in core/
modules/ forum/ src/ Form/ ForumForm.php - Form submission handler for the 'save' action.
- hook_requirements in core/
lib/ Drupal/ Core/ Extension/ module.api.php - Check installation requirements and do status reporting.
- ImageFormatter::settingsForm in core/
modules/ image/ src/ Plugin/ Field/ FieldFormatter/ ImageFormatter.php - Returns a form to configure settings for the formatter.
- layout_builder_test_system_breadcrumb_alter in core/
modules/ layout_builder/ tests/ modules/ layout_builder_test/ layout_builder_test.module - Implements hook_system_breadcrumb_alter().
- LinkFieldTest::testLinkTitle in core/
modules/ link/ tests/ src/ Functional/ LinkFieldTest.php - Tests the link title settings of a link field.
- LinkGeneratorTest::testGenerateTwice in core/
tests/ Drupal/ Tests/ Core/ Utility/ LinkGeneratorTest.php - Tests whether rendering the same link twice works.
- locale_form_language_admin_overview_form_alter in core/
modules/ locale/ locale.module - Implements hook_form_FORM_ID_alter() for language_admin_overview_form().
- locale_requirements in core/
modules/ locale/ locale.install - Implements hook_requirements().
- MenuForm::buildOverviewTreeForm in core/
modules/ menu_ui/ src/ MenuForm.php - Recursive helper function for buildOverviewForm().
- MigrateUpgradeImportBatch::finished in core/
modules/ migrate_drupal_ui/ src/ Batch/ MigrateUpgradeImportBatch.php - Callback executed when the Migrate Upgrade Import batch process completes.
- ModulesListForm::buildRow in core/
modules/ system/ src/ Form/ ModulesListForm.php - Builds a table row for the system modules page.
- ModulesUninstallForm::buildForm in core/
modules/ system/ src/ Form/ ModulesUninstallForm.php - Form constructor.
- NodeController::revisionOverview in core/
modules/ node/ src/ Controller/ NodeController.php - Generates an overview table of older revisions of a node.
- NodeRevisionsUiTest::testNodeRevisionDoubleEscapeFix in core/
modules/ node/ tests/ src/ Functional/ NodeRevisionsUiTest.php - Checks HTML double escaping of revision logs.
- node_title_list in core/
modules/ node/ node.module - Gathers a listing of links to nodes.
- Rearrange::buildForm in core/
modules/ views_ui/ src/ Form/ Ajax/ Rearrange.php - SearchConfigSettingsFormTest::setUp in core/
modules/ search/ tests/ src/ Functional/ SearchConfigSettingsFormTest.php - SearchRankingTest::testHTMLRankings in core/
modules/ search/ tests/ src/ Functional/ SearchRankingTest.php - Tests rankings of HTML tags.
- ShortcutForm::save in core/
modules/ shortcut/ src/ ShortcutForm.php - Form submission handler for the 'save' action.
- StatisticsReportsTest::testPopularContentBlock in core/
modules/ statistics/ tests/ src/ Functional/ StatisticsReportsTest.php - Tests the "popular content" block.
- syslog_form_system_logging_settings_alter in core/
modules/ syslog/ syslog.module - Implements hook_form_FORM_ID_alter().
- SystemCompactLink::preRenderCompactLink in core/
lib/ Drupal/ Core/ Render/ Element/ SystemCompactLink.php - Pre-render callback: Renders a link into #markup.
- SystemController::themesPage in core/
modules/ system/ src/ Controller/ SystemController.php - Returns a theme listing which excludes obsolete themes.
- system_requirements in core/
modules/ system/ system.install - Implements hook_requirements().
- TaxonomyFieldTidTest::testViewsHandlerTidField in core/
modules/ taxonomy/ tests/ src/ Kernel/ Views/ TaxonomyFieldTidTest.php - Tests the taxonomy field handler.
- template_preprocess_admin_block_content in core/
modules/ system/ system.admin.inc - Prepares variables for administrative content block templates.
- template_preprocess_block_content_add_list in core/
modules/ block_content/ block_content.pages.inc - Prepares variables for a custom block type creation list templates.
- template_preprocess_comment in core/
modules/ comment/ comment.module - Prepares variables for comment templates.
- template_preprocess_file_link in core/
modules/ file/ file.module - Prepares variables for file link templates.
- template_preprocess_forums in core/
modules/ forum/ forum.module - Prepares variables for forums templates.
- template_preprocess_link_formatter_link_separate in core/
modules/ link/ link.module - Prepares variables for separated link field templates.
- template_preprocess_locale_translation_last_check in core/
modules/ locale/ locale.pages.inc - Prepares variables for most recent translation update templates.
- template_preprocess_node_add_list in core/
modules/ node/ node.module - Prepares variables for list of available node type templates.
- template_preprocess_update_last_check in core/
modules/ update/ update.module - Prepares variables for last time update data was checked templates.
- TermIndexTest::testTaxonomyTermHierarchyBreadcrumbs in core/
modules/ taxonomy/ tests/ src/ Functional/ TermIndexTest.php - Tests that there is a link to the parent term on the child term page.
- TestHelpSection::listTopics in core/
modules/ help_topics/ tests/ modules/ help_topics_test/ src/ Plugin/ HelpSection/ TestHelpSection.php - Returns a list of topics to show in the help section.
- toolbar_test_toolbar in core/
modules/ toolbar/ tests/ modules/ toolbar_test/ toolbar_test.module - Implements hook_toolbar().
- TourHelpSection::listTopics in core/
modules/ tour/ src/ Plugin/ HelpSection/ TourHelpSection.php - UpdateManagerUpdate::buildForm in core/
modules/ update/ src/ Form/ UpdateManagerUpdate.php - Form constructor.
- UpdateReportTest::testTemplatePreprocessUpdateFetchErrorMessageWithDblog in core/
modules/ update/ tests/ src/ Kernel/ UpdateReportTest.php - Tests the error message when failing to fetch data with dblog enabled.
- UpdateSemverTestBase::testMajorUpdateAvailable in core/
modules/ update/ tests/ src/ Functional/ UpdateSemverTestBase.php - Tests the Update Manager module when a major update is available.
- Url::render in core/
modules/ views/ src/ Plugin/ views/ field/ Url.php - UrlTest::testLinkAttributes in core/
modules/ system/ tests/ src/ Kernel/ Common/ UrlTest.php - Tests that default and custom attributes are handled correctly on links.
- UrlTest::testLinkRenderArrayText in core/
modules/ system/ tests/ src/ Kernel/ Common/ UrlTest.php - Tests that link functions support render arrays as 'text'.
- UrlTest::testLinkXSS in core/
modules/ system/ tests/ src/ Kernel/ Common/ UrlTest.php - Confirms that invalid URLs are filtered in link generating functions.
- ViewEditForm::getFormBucket in core/
modules/ views_ui/ src/ ViewEditForm.php - Add information about a section to a display.
- ViewListBuilder::getDisplaysList in core/
modules/ views_ui/ src/ ViewListBuilder.php - Gets a list of displays included in the view.
- ViewsIntegrationTest::createLogEntries in core/
modules/ dblog/ tests/ src/ Kernel/ Views/ ViewsIntegrationTest.php - Create a set of log entries.
- ViewsUIController::reportFields in core/
modules/ views_ui/ src/ Controller/ ViewsUIController.php - Lists all instances of fields on any views.
- ViewsUIController::reportPlugins in core/
modules/ views_ui/ src/ Controller/ ViewsUIController.php - Lists all plugins and what enabled Views use them.
- ViewUI::renderPreview in core/
modules/ views_ui/ src/ ViewUI.php - _node_mass_update_batch_process in core/
modules/ node/ node.admin.inc - Implements callback_batch_operation().
- _update_requirement_check in core/
modules/ update/ update.install - Fills in the requirements array.