43 calls to base_path() in Drupal 10
- AttachedAssetsTest::testAggregation in core/
tests/ Drupal/ KernelTests/ Core/ Asset/ AttachedAssetsTest.php - Integration test for CSS/JS aggregation.
- BigPipePlaceholderTestCases::cases in core/
modules/ big_pipe/ tests/ modules/ big_pipe_test/ src/ BigPipePlaceholderTestCases.php - Gets all BigPipe placeholder test cases.
- BigPipeTest::testNoJsDetection in core/
modules/ big_pipe/ tests/ src/ Functional/ BigPipeTest.php - Tests BigPipe's no-JS detection.
- BlockContextualLinksTest::testBlockContextualRemoveLinks in core/
modules/ block/ tests/ src/ FunctionalJavascript/ BlockContextualLinksTest.php - Test to ensure that remove contextual link is present in the block.
- CommentInterfaceTest::testCommentInterface in core/
modules/ comment/ tests/ src/ Functional/ CommentInterfaceTest.php - Tests the comment interface.
- CommentResourceTestBase::getExpectedNormalizedEntity in core/
modules/ comment/ tests/ src/ Functional/ Rest/ CommentResourceTestBase.php - ComputedFileUrlTest::testGetValue in core/
modules/ file/ tests/ src/ Kernel/ ComputedFileUrlTest.php - @covers ::getValue
- ContextualDynamicContextTest::testDifferentPermissions in core/
modules/ contextual/ tests/ src/ Functional/ ContextualDynamicContextTest.php - Tests contextual links with different permissions.
- DisplayBlockTest::testBlockContextualLinks in core/
modules/ block/ tests/ src/ Functional/ Views/ DisplayBlockTest.php - Tests the contextual links on a Views block.
- FileResourceTestBase::getExpectedNormalizedEntity in core/
modules/ file/ tests/ src/ Functional/ Rest/ FileResourceTestBase.php - Returns the expected normalization of the entity.
- FileTest::getExpectedDocument in core/
modules/ jsonapi/ tests/ src/ Functional/ FileTest.php - FileUploadResourceTestBase::getExpectedNormalizedEntity in core/
modules/ rest/ tests/ src/ Functional/ FileUploadResourceTestBase.php - Gets the expected file entity.
- FileUploadTest::getExpectedDocument in core/
modules/ jsonapi/ tests/ src/ Functional/ FileUploadTest.php - Returns the expected JSON:API document for the expected file entity.
- FileUploadTest::testFileUploadNoDirectorySetting in core/
modules/ jsonapi/ tests/ src/ Functional/ FileUploadTest.php - Tests using the file upload POST route no directory configured.
- FileUriItemTest::testCustomFileUriField in core/
modules/ file/ tests/ src/ Kernel/ FileUriItemTest.php - Tests the file entity override of the URI field.
- FileUrlGenerator::doGenerateString in core/
lib/ Drupal/ Core/ File/ FileUrlGenerator.php - Creates an absolute web-accessible URL string.
- FileUrlGeneratorTest::testPublicManagedFileURL in core/
tests/ Drupal/ KernelTests/ Core/ File/ FileUrlGeneratorTest.php - Tests the rewriting of public managed file URLs by hook_file_url_alter().
- FileUrlGeneratorTest::testRelativeFileURL in core/
tests/ Drupal/ KernelTests/ Core/ File/ FileUrlGeneratorTest.php - Tests generate absolute string with relative URL.
- FileUrlGeneratorTest::testShippedFileURL in core/
tests/ Drupal/ KernelTests/ Core/ File/ FileUrlGeneratorTest.php - Tests the rewriting of shipped file URLs by hook_file_url_alter().
- file_test_file_url_alter in core/
modules/ file/ tests/ file_test/ file_test.module - Implements hook_file_url_alter().
- FilterHtmlImageSecureTest::testImageSource in core/
modules/ filter/ tests/ src/ Functional/ FilterHtmlImageSecureTest.php - Tests removal of images having a non-local source.
- filter_filter_secure_image_alter in core/
modules/ filter/ filter.module - Implements hook_filter_secure_image_alter().
- hook_filter_secure_image_alter in core/
modules/ filter/ filter.api.php - Alters images with an invalid source.
- ImageThemeFunctionTest::testImageFormatterTheme in core/
modules/ image/ tests/ src/ Kernel/ ImageThemeFunctionTest.php - Tests usage of the image field formatters.
- install_check_requirements in core/
includes/ install.core.inc - Checks installation requirements and reports any errors.
- install_check_translations in core/
includes/ install.core.inc - Checks installation requirements and reports any errors.
- JqueryUiLibraryAssetsTest::trimFilePath in core/
tests/ Drupal/ FunctionalTests/ Libraries/ JqueryUiLibraryAssetsTest.php - Removes base_url() and query args from file paths.
- LanguageNegotiationUrl::processOutbound in core/
modules/ language/ src/ Plugin/ LanguageNegotiation/ LanguageNegotiationUrl.php - LanguageUILanguageNegotiationTest::testLanguageDomain in core/
modules/ language/ tests/ src/ Functional/ LanguageUILanguageNegotiationTest.php - Tests URL handling when separate domains are used for multiple languages.
- LanguageUrlRewritingTest::checkUrl in core/
modules/ language/ tests/ src/ Functional/ LanguageUrlRewritingTest.php - Check URL rewriting for the given language.
- LanguageUrlRewritingTest::testDomainNameNegotiationPort in core/
modules/ language/ tests/ src/ Functional/ LanguageUrlRewritingTest.php - Check URL rewriting when using a domain name and a non-standard port.
- LayoutBuilderTest::testBreadcrumb in core/
modules/ layout_builder/ tests/ src/ Functional/ LayoutBuilderTest.php - Tests the expected breadcrumbs of the Layout Builder UI.
- MailTest::testRenderedElementsUseAbsolutePaths in core/
modules/ system/ tests/ src/ Kernel/ Mail/ MailTest.php - Checks that mails built from render arrays contain absolute paths.
- ManageFieldsFunctionalTest::manageFieldsPage in core/
modules/ field_ui/ tests/ src/ Functional/ ManageFieldsFunctionalTest.php - Tests the manage fields page.
- MediaResourceTestBase::getExpectedNormalizedEntity in core/
modules/ media/ tests/ src/ Functional/ Rest/ MediaResourceTestBase.php - Returns the expected normalization of the entity.
- MediaResourceTestBase::getExpectedNormalizedFileEntity in core/
modules/ media/ tests/ src/ Functional/ Rest/ MediaResourceTestBase.php - Gets the expected file entity.
- NodeResourceTestBase::getExpectedNormalizedEntity in core/
modules/ node/ tests/ src/ Functional/ Rest/ NodeResourceTestBase.php - NodeTranslationUITest::testTranslationRendering in core/
modules/ node/ tests/ src/ Functional/ NodeTranslationUITest.php - Tests that translations are rendered properly.
- PathAliasTest::testNodeAlias in core/
modules/ path/ tests/ src/ Functional/ PathAliasTest.php - Tests alias functionality through the node interfaces.
- template_preprocess_page in core/
includes/ theme.inc - Prepares variables for the page template.
- TermResourceTestBase::getExpectedNormalizedEntity in core/
modules/ taxonomy/ tests/ src/ Functional/ Rest/ TermResourceTestBase.php - Returns the expected normalization of the entity.
- WorkspaceResourceTestBase::getExpectedNormalizedEntity in core/
modules/ workspaces/ tests/ src/ Functional/ EntityResource/ WorkspaceResourceTestBase.php - Returns the expected normalization of the entity.
- _filter_html_image_secure_process in core/
modules/ filter/ filter.module - Process callback for local image filter.