Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 9.x
»
file.inc
»
drupal_realpath
Search Drupal 9.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 9.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
Deprecated
42 calls to drupal_realpath()
archiver_get_archiver
in drupal/
core/
includes/
common.inc
Creates the appropriate archiver for the specified file.
ColorTest::_testColor
in drupal/
core/
modules/
color/
lib/
Drupal/
color/
Tests/
ColorTest.php
Tests the Color module functionality using the given theme.
CommentPreviewTest::testCommentPreview
in drupal/
core/
modules/
comment/
lib/
Drupal/
comment/
Tests/
CommentPreviewTest.php
Tests comment preview.
drupal_move_uploaded_file
in drupal/
core/
includes/
file.inc
Moves an uploaded file to a new location.
FileFieldTestBase::replaceNodeFile
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
FileFieldTestBase.php
Replaces a file within a node.
FileFieldTestBase::uploadNodeFile
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
FileFieldTestBase.php
Uploads a file to a node.
FileFieldWidgetTest::testMultiValuedWidget
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
FileFieldWidgetTest.php
Tests upload and remove buttons for multiple multi-valued File fields.
FileFieldWidgetTest::testPrivateFileComment
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
FileFieldWidgetTest.php
Tests that download restrictions on private files work on comments.
FileManagedFileElementTest::testManagedFile
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
FileManagedFileElementTest.php
Tests the managed_file element type.
FileTransfer::checkPath
in drupal/
core/
lib/
Drupal/
Core/
FileTransfer/
FileTransfer.php
Checks that the path is inside the jail and throws an exception if not.
file_copy
in drupal/
core/
modules/
file/
file.module
Copies a file to a new location and adds a file record to the database.
file_move
in drupal/
core/
modules/
file/
file.module
Moves a file to a new location and update the file's database entry.
file_unmanaged_copy
in drupal/
core/
includes/
file.inc
Copies a file to a new location without invoking the file API.
ImageFieldDisplayTest::testImageFieldDefaultImage
in drupal/
core/
modules/
image/
lib/
Drupal/
image/
Tests/
ImageFieldDisplayTest.php
Test use of a default image with an image field.
ImageFieldTestBase::uploadNodeImage
in drupal/
core/
modules/
image/
lib/
Drupal/
image/
Tests/
ImageFieldTestBase.php
Upload an image to a node.
image_gd_save
in drupal/
core/
modules/
system/
image.gd.inc
Image toolkit callback: Writes an image resource to a destination file.
image_style_flush
in drupal/
core/
modules/
image/
image.module
Flush cached media for a style.
LocaleCompareTest::makePoFile
in drupal/
core/
modules/
locale/
lib/
Drupal/
locale/
Tests/
LocaleCompareTest.php
Creates a translation file and tests its timestamp.
LocaleFileImportStatus::testDeleteLanguage
in drupal/
core/
modules/
locale/
lib/
Drupal/
locale/
Tests/
LocaleFileImportStatus.php
Delete translation files after deleting a language.
locale_translate_batch_import
in drupal/
core/
modules/
locale/
locale.bulk.inc
Perform interface translation import as a batch step.
locale_translation_source_check_file
in drupal/
core/
modules/
locale/
locale.compare.inc
Check whether a po file exists in the local filesystem.
PoStreamReader::open
in drupal/
core/
lib/
Drupal/
Component/
Gettext/
PoStreamReader.php
Implements
Drupal\Component\Gettext\PoStreamInterface::open
().
RdfaMarkupTest::testAttributesInMarkupFile
in drupal/
core/
modules/
rdf/
lib/
Drupal/
rdf/
Tests/
RdfaMarkupTest.php
Tests if file fields in teasers have correct resources.
SaveUploadTest::setUp
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
SaveUploadTest.php
Sets up a Drupal site for running functional and integration tests.
SaveUploadTest::testExistingError
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
SaveUploadTest.php
Test for failure when uploading over a file that already exists.
SaveUploadTest::testExistingRename
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
SaveUploadTest.php
Test renaming when uploading over a file that already exists.
SaveUploadTest::testExistingReplace
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
SaveUploadTest.php
Test replacement when uploading over a file that already exists.
SaveUploadTest::testHandleDangerousFile
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
SaveUploadTest.php
Test dangerous file handling.
SaveUploadTest::testHandleExtension
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
SaveUploadTest.php
Test extension handling.
SaveUploadTest::testHandleFileMunge
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
SaveUploadTest.php
Test file munge handling.
SaveUploadTest::testNormal
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
SaveUploadTest.php
Test the
file_save_upload
() function.
StateValuesCleanAdvancedTest::testFormStateValuesCleanAdvanced
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Form/
StateValuesCleanAdvancedTest.php
Tests
form_state_values_clean
().
system_retrieve_file
in drupal/
core/
modules/
system/
system.module
Attempts to get a file using drupal_http_request and to store it locally.
ThemeTest::testThemeSettings
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
System/
ThemeTest.php
Test the theme settings form.
update_manager_file_get
in drupal/
core/
modules/
update/
update.manager.inc
Copies a file from the specified URL to the temporary directory for updates.
update_manager_install_form_submit
in drupal/
core/
modules/
update/
update.manager.inc
Form submission handler for
update_manager_install_form
().
update_manager_update_ready_form_submit
in drupal/
core/
modules/
update/
update.manager.inc
Form submission handler for
update_manager_update_ready_form
().
UserPictureTest::saveUserPicture
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
Tests/
UserPictureTest.php
Edits the user picture for the test user.
WebTestBase::drupalPost
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Execute a POST request on a Drupal page. It will be done as usual POST request with SimpleBrowser.
_color_render_images
in drupal/
core/
modules/
color/
color.module
Renders images that match a given palette.
_locale_translation_file_is_remote
in drupal/
core/
modules/
locale/
locale.compare.inc
Determine if a file is a remote file.
_system_theme_settings_validate_path
in drupal/
core/
modules/
system/
system.admin.inc
Helper function for the system_theme_settings form.