You are here

113 calls to drupal_get_path() in Drupal 8

AggregatorTestBase::getAtomSample in core/modules/aggregator/src/Tests/AggregatorTestBase.php
Returns a example Atom feed.
AggregatorTestBase::getAtomSample in core/modules/aggregator/tests/src/Functional/AggregatorTestBase.php
Returns a example Atom feed.
AggregatorTestBase::getHtmlEntitiesSample in core/modules/aggregator/src/Tests/AggregatorTestBase.php
Returns a example feed.
AggregatorTestBase::getHtmlEntitiesSample in core/modules/aggregator/tests/src/Functional/AggregatorTestBase.php
Returns a example feed.
AggregatorTestBase::getRSS091Sample in core/modules/aggregator/src/Tests/AggregatorTestBase.php
Returns a example RSS091 feed.
AggregatorTestBase::getRSS091Sample in core/modules/aggregator/tests/src/Functional/AggregatorTestBase.php
Returns a example RSS091 feed.
AjaxCssForm::generateResponse in core/modules/ckeditor/tests/modules/src/Form/AjaxCssForm.php
Generates an AJAX response to add CSS to a CKEditor Text Editor instance.
BrowserTestBaseUserAgentTest::testUserAgentValidation in core/tests/Drupal/FunctionalTests/BrowserTestBaseUserAgentTest.php
Test validation of the User-Agent header we use to perform test requests.
CKEditor::buildContentsCssJSSetting in core/modules/ckeditor/src/Plugin/Editor/CKEditor.php
Builds the "contentsCss" configuration part of the CKEditor JS settings.
CKEditorLoadingTest::testLoading in core/modules/ckeditor/tests/src/Functional/CKEditorLoadingTest.php
Tests loading of CKEditor CSS, JS and JS settings.
CKEditorPluginManagerTest::testCssFiles in core/modules/ckeditor/tests/src/Kernel/CKEditorPluginManagerTest.php
Tests the iframe instance CSS files of plugins.
CKEditorPluginManagerTest::testEnabledPlugins in core/modules/ckeditor/tests/src/Kernel/CKEditorPluginManagerTest.php
Tests the enabling of plugins.
CKEditorTest::testBuildContentsCssJSSetting in core/modules/ckeditor/tests/src/Kernel/CKEditorTest.php
Tests CKEditor::buildContentsCssJSSetting().
ckeditor_ckeditor_css_alter in core/modules/ckeditor/ckeditor.module
Implements hook_ckeditor_css_alter().
ckeditor_test_ckeditor_css_alter in core/modules/ckeditor/tests/modules/ckeditor_test.module
Implements hook_ckeditor_css_alter().
color_get_info in core/modules/color/color.module
Retrieves the Color module information for a particular theme.
color_scheme_form_submit in core/modules/color/color.module
Form submission handler for color_scheme_form().
CommentCSSTest::testCommentClasses in core/modules/comment/tests/src/Functional/CommentCSSTest.php
Tests CSS classes on comments.
ConfigCRUDTest::testDataTypes in core/tests/Drupal/KernelTests/Core/Config/ConfigCRUDTest.php
Tests data type handling.
ConfigInstaller::drupalGetPath in core/lib/Drupal/Core/Config/ConfigInstaller.php
Wrapper for drupal_get_path().
ConfigInstallProfileOverrideTest::testInstallProfileConfigOverwrite in core/modules/config/tests/src/Functional/ConfigInstallProfileOverrideTest.php
Tests install profile config changes.
ConfigManager::uninstall in core/lib/Drupal/Core/Config/ConfigManager.php
Uninstalls the configuration of a given extension.
DbLogTest::testBacktrace in core/modules/dblog/tests/src/Functional/DbLogTest.php
Tests that the details page displays correctly backtrace.
DefaultConfigTest::testModuleConfig in core/tests/Drupal/KernelTests/Config/DefaultConfigTest.php
Tests if installed config is equal to the exported config.
DemoUmamiProfileTest::testConfig in core/profiles/demo_umami/tests/src/Functional/DemoUmamiProfileTest.php
Tests the profile supplied configuration is the same after installation.
DrupalImage::getButtons in core/modules/ckeditor/src/Plugin/CKEditorPlugin/DrupalImage.php
Returns the buttons that this plugin provides, along with metadata.
DrupalImage::getFile in core/modules/ckeditor/src/Plugin/CKEditorPlugin/DrupalImage.php
Returns the Drupal root-relative file path to the plugin JavaScript file.
DrupalImageCaption::getCssFiles in core/modules/ckeditor/src/Plugin/CKEditorPlugin/DrupalImageCaption.php
Retrieves enabled plugins' iframe instance CSS files.
DrupalImageCaption::getFile in core/modules/ckeditor/src/Plugin/CKEditorPlugin/DrupalImageCaption.php
Returns the Drupal root-relative file path to the plugin JavaScript file.
DrupalLink::getButtons in core/modules/ckeditor/src/Plugin/CKEditorPlugin/DrupalLink.php
Returns the buttons that this plugin provides, along with metadata.
DrupalLink::getFile in core/modules/ckeditor/src/Plugin/CKEditorPlugin/DrupalLink.php
Returns the Drupal root-relative file path to the plugin JavaScript file.
EditorLoadingTest::getThingsToCheck in core/modules/editor/tests/src/Functional/EditorLoadingTest.php
EntityTypeWithoutViewsDataTest::testEntityTypeWithoutViewsData in core/modules/datetime_range/tests/src/Kernel/Views/EntityTypeWithoutViewsDataTest.php
Tests the case when an entity type provides no views data.
ErrorHandlerTest::testErrorHandler in core/modules/system/tests/src/Functional/System/ErrorHandlerTest.php
Test the error handler.
ErrorHandlerTest::testExceptionHandler in core/modules/system/tests/src/Functional/System/ErrorHandlerTest.php
Test the exception handler.
ExtensionDiscovery::setProfileDirectoriesFromSettings in core/lib/Drupal/Core/Extension/ExtensionDiscovery.php
Sets installation profile directories based on current site settings.
FunctionalTestSetupTrait::installDefaultThemeFromClassProperty in core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php
Installs the default theme defined by `static::$defaultTheme` when needed.
hook_ckeditor_css_alter in core/modules/ckeditor/ckeditor.api.php
Modify the list of CSS files that will be added to a CKEditor instance.
hook_js_alter in core/lib/Drupal/Core/Render/theme.api.php
Perform necessary alterations to the JavaScript before it is presented on the page.
hook_library_info_alter in core/lib/Drupal/Core/Render/theme.api.php
Alter libraries provided by an extension.
HtaccessTest::getProtectedFiles in core/modules/system/tests/src/Functional/System/HtaccessTest.php
Get an array of file paths for access testing.
IdConflictTest::setUp in core/modules/migrate_drupal_ui/tests/src/Functional/d6/IdConflictTest.php
IdConflictTest::setUp in core/modules/migrate_drupal_ui/tests/src/Functional/d7/IdConflictTest.php
InstallStorage::getCoreFolder in core/lib/Drupal/Core/Config/InstallStorage.php
Get folder inside Drupal core that contains the files.
install_import_translations in core/includes/install.core.inc
Imports languages via a batch process during installation.
install_profile_info in core/includes/install.inc
Retrieves information about an installation profile from its .info.yml file.
IntegrationTest::testNodeCounterIntegration in core/modules/statistics/tests/src/Functional/Views/IntegrationTest.php
Tests the integration of the {node_counter} table in views.
Language::getCssFiles in core/modules/ckeditor/src/Plugin/CKEditorPlugin/Language.php
Retrieves enabled plugins' iframe instance CSS files.
LibraryDiscoveryParser::drupalGetPath in core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php
Wraps drupal_get_path().
Llama::getFile in core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/Llama.php
Returns the Drupal root-relative file path to the plugin JavaScript file.
LlamaButton::getFile in core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaButton.php
Returns the Drupal root-relative file path to the plugin JavaScript file.
LlamaContextual::getFile in core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextual.php
Returns the Drupal root-relative file path to the plugin JavaScript file.
LlamaContextualAndButton::getFile in core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextualAndButton.php
Returns the Drupal root-relative file path to the plugin JavaScript file.
LlamaCss::getCssFiles in core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaCss.php
Retrieves enabled plugins' iframe instance CSS files.
LlamaCss::getFile in core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaCss.php
Returns the Drupal root-relative file path to the plugin JavaScript file.
locale_config_batch_build in core/modules/locale/locale.bulk.inc
Creates a locale batch to refresh specific configuration.
locale_translate_batch_build in core/modules/locale/locale.bulk.inc
Build a locale batch from an array of files.
locale_translation_batch_fetch_build in core/modules/locale/locale.fetch.inc
Builds a batch to download and import project translations.
locale_translation_batch_status_build in core/modules/locale/locale.compare.inc
Builds a batch to get the status of remote and local translation files.
locale_translation_batch_update_build in core/modules/locale/locale.fetch.inc
Builds a batch to check, download and import project translations.
MediaDisplayTest::setUp in core/modules/media/tests/src/FunctionalJavascript/MediaDisplayTest.php
media_install in core/modules/media/media.install
Implements hook_install().
Module::canUpdate in core/lib/Drupal/Core/Updater/Module.php
Determines whether this class can update the specified project.
Module::getInstallDirectory in core/lib/Drupal/Core/Updater/Module.php
Returns the directory where a module should be installed.
ModuleInstaller::removeCacheBins in core/lib/Drupal/Core/Extension/ModuleInstaller.php
Helper method for removing all cache bins registered by a given module.
ModuleTestBase::assertModuleConfig in core/modules/system/src/Tests/Module/ModuleTestBase.php
Asserts that the default configuration of a module has been installed.
ModuleTestBase::assertModuleConfig in core/modules/system/tests/src/Functional/Module/ModuleTestBase.php
Asserts that the default configuration of a module has been installed.
module_load_include in core/includes/module.inc
Loads a module include file.
MultilingualReviewPageTest::setUp in core/modules/migrate_drupal_ui/tests/src/Functional/d6/MultilingualReviewPageTest.php
MultilingualReviewPageTest::setUp in core/modules/migrate_drupal_ui/tests/src/Functional/d7/MultilingualReviewPageTest.php
NodeClassicTest::setUp in core/modules/migrate_drupal_ui/tests/src/Functional/d6/NodeClassicTest.php
node_mass_update in core/modules/node/node.admin.inc
Updates all nodes in the passed-in array with the passed-in field values.
NoMultilingualReviewPageTest::setUp in core/modules/migrate_drupal_ui/tests/src/Functional/d6/NoMultilingualReviewPageTest.php
OEmbedTestTrait::getFixturesDirectory in core/modules/media/tests/src/Traits/OEmbedTestTrait.php
Returns the relative path to the oEmbed fixtures directory.
quickedit_library_info_alter in core/modules/quickedit/quickedit.module
Implements hook_library_info_alter().
Registry::getPath in core/lib/Drupal/Core/Theme/Registry.php
Wraps drupal_get_path().
settings_tray_css_alter in core/modules/settings_tray/settings_tray.module
Implements hook_css_alter().
SimpleTestBrowserTest::testUserAgentValidation in core/modules/simpletest/src/Tests/SimpleTestBrowserTest.php
Test validation of the User-Agent header we use to perform test requests.
simpletest_js_alter in core/modules/simpletest/simpletest.module
Implements hook_js_alter().
StatisticsAdminTest::testDeleteNode in core/modules/statistics/tests/src/Functional/StatisticsAdminTest.php
Tests that when a node is deleted, the node counter is deleted too.
StatisticsAdminTest::testExpiredLogs in core/modules/statistics/tests/src/Functional/StatisticsAdminTest.php
Tests that cron clears day counts and expired access logs.
StatisticsAdminTest::testStatisticsSettings in core/modules/statistics/tests/src/Functional/StatisticsAdminTest.php
Verifies that the statistics settings page works.
StatisticsLoggingTest::testLogging in core/modules/statistics/tests/src/Functional/StatisticsLoggingTest.php
Verifies node hit counter logging and script placement.
StatisticsReportsTest::testPopularContentBlock in core/modules/statistics/tests/src/Functional/StatisticsReportsTest.php
Tests the "popular content" block.
StatisticsTokenReplaceTest::testStatisticsTokenReplacement in core/modules/statistics/tests/src/Functional/StatisticsTokenReplaceTest.php
Creates a node, then tests the statistics tokens generated from it.
statistics_node_view in core/modules/statistics/statistics.module
Implements hook_ENTITY_TYPE_view() for node entities.
template_preprocess_color_scheme_form in core/modules/color/color.module
Prepares variables for color scheme form templates.
template_preprocess_system_themes_page in core/modules/system/system.admin.inc
Prepares variables for appearance page templates.
Theme::canUpdate in core/lib/Drupal/Core/Updater/Theme.php
Determines whether this class can update the specified project.
Theme::getInstallDirectory in core/lib/Drupal/Core/Updater/Theme.php
Returns the directory where a theme should be installed.
ThemeInfoTest::testStylesheets in core/modules/system/tests/src/Functional/Theme/ThemeInfoTest.php
Tests stylesheets-remove.
ThemeSettingsForm::buildForm in core/modules/system/src/Form/ThemeSettingsForm.php
ThemeTest::testFindThemeTemplates in core/modules/system/tests/src/Kernel/Theme/ThemeTest.php
Tests drupal_find_theme_templates().
TwigDebugMarkupTest::testTwigDebugMarkup in core/modules/system/tests/src/Functional/Theme/TwigDebugMarkupTest.php
Tests debug markup added to Twig template output.
TwigWhiteListTest::testWhiteListChaining in core/tests/Drupal/KernelTests/Core/Theme/TwigWhiteListTest.php
Tests white-listing of methods doesn't interfere with chaining.
UpdateManagerUpdate::submitForm in core/modules/update/src/Form/UpdateManagerUpdate.php
Form submission handler.
UpdatePathTestTrait::runUpdates in core/tests/Drupal/Tests/UpdatePathTestTrait.php
Helper function to run pending database updates.
update_authorize_run_install in core/modules/update/update.authorize.inc
Installs a new project when invoked by authorize.php.
update_authorize_run_update in core/modules/update/update.authorize.inc
Updates existing projects when invoked by authorize.php.
Upgrade6Test::setUp in core/modules/migrate_drupal_ui/tests/src/Functional/d6/Upgrade6Test.php
Upgrade7Test::setUp in core/modules/migrate_drupal_ui/tests/src/Functional/d7/Upgrade7Test.php
ViewsConfigUpdaterTest::loadTestView in core/modules/views/tests/src/Kernel/ViewsConfigUpdaterTest.php
Loads a test view.
views_theme in core/modules/views/views.module
Implements hook_theme().
ViewTestData::createTestViews in core/modules/views/src/Tests/ViewTestData.php
Create test views from config.
_batch_test_batch_0 in core/modules/system/tests/modules/batch_test/batch_test.module
Batch 0: Does nothing.
_batch_test_batch_1 in core/modules/system/tests/modules/batch_test/batch_test.module
Batch 1: Repeats a simple operation.
_batch_test_batch_2 in core/modules/system/tests/modules/batch_test/batch_test.module
Batch 2: Performs a single multistep operation.
_batch_test_batch_3 in core/modules/system/tests/modules/batch_test/batch_test.module
Batch 3: Performs both single and multistep operations.
_batch_test_batch_4 in core/modules/system/tests/modules/batch_test/batch_test.module
Batch 4: Performs a batch within a batch.
_batch_test_batch_5 in core/modules/system/tests/modules/batch_test/batch_test.module
Batch 5: Repeats a simple operation.
_batch_test_batch_6 in core/modules/system/tests/modules/batch_test/batch_test.module
Batch 6: Repeats a simple operation.
_batch_test_batch_7 in core/modules/system/tests/modules/batch_test/batch_test.module
Batch 7: Performs two batches within a batch.
_ckeditor_theme_css in core/modules/ckeditor/ckeditor.module
Retrieves the default theme's CKEditor stylesheets.