52 calls to base_path()
- 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.
- BlockContentCreationTest::testBlockContentFormSubmitHandlers in core/
modules/ block_content/ tests/ src/ Functional/ BlockContentCreationTest.php - Tests the redirect workflow of creating a block_content and block.
- BlockContextualLinksTest::testBlockContextualRemoveLinks in core/
modules/ block/ tests/ src/ FunctionalJavascript/ BlockContextualLinksTest.php - Test that remove/configure contextual links are 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 - Returns the expected normalization of the entity.
- ComputedFileUrlTest::testGetValue in core/
modules/ file/ tests/ src/ Kernel/ ComputedFileUrlTest.php - @covers ::getValue
- ConfigTranslationListUiTest::doVocabularyListTest in core/
modules/ config_translation/ tests/ src/ Functional/ ConfigTranslationListUiTest.php - Tests the vocabulary listing for the translate operation.
- 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.
- FieldPluginBase::renderAsLink in core/
modules/ views/ src/ Plugin/ views/ field/ FieldPluginBase.php - Render this field as a link, with the info from a fieldset set by the user.
- FieldPluginBase::renderText in core/
modules/ views/ src/ Plugin/ views/ field/ FieldPluginBase.php - Performs an advanced text render for the item.
- 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 - Returns the expected JSON:API document for the entity.
- 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::testFileUploadNoConfiguration in core/
modules/ jsonapi/ tests/ src/ Functional/ FileUploadTest.php - Tests using the file upload POST route no configuration.
- 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.
- ImageTestBase::imageAttributes in core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ ImageTestBase.php - Provides the relevant image attributes.
- 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.
- locale_install in core/
modules/ locale/ locale.install - Implements hook_install().
- MailTest::testRenderedElementsUseAbsolutePaths in core/
modules/ system/ tests/ src/ Kernel/ Mail/ MailTest.php - Checks that mails built from render arrays contain absolute paths.
- ManageFieldsLifecycleTest::manageFieldsPage in core/
modules/ field_ui/ tests/ src/ Functional/ ManageFieldsLifecycleTest.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 - Returns the expected normalization of the entity.
- 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.
- StatisticsLoggingTest::testLogging in core/
modules/ statistics/ tests/ src/ Functional/ StatisticsLoggingTest.php - Verifies node hit counter logging and script placement.
- 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.
- ThemeTest::testThemeSettings in core/
modules/ system/ tests/ src/ Functional/ System/ ThemeTest.php - Tests the theme settings form.
- WorkspaceResourceTestBase::getExpectedNormalizedEntity in core/
modules/ workspaces/ tests/ src/ Functional/ Rest/ WorkspaceResourceTestBase.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.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.