Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 7.x
»
file.inc
»
drupal_realpath
Search Drupal 7.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 7.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
47 calls to drupal_realpath()
archiver_get_archiver
in drupal/
includes/
common.inc
Creates the appropriate archiver for the specified file.
ColorTestCase::_testColor
in drupal/
modules/
color/
color.test
Tests the Color module functionality using the given theme.
CommentPreviewTest::testCommentPreview
in drupal/
modules/
comment/
comment.test
Test comment preview.
DrupalErrorHandlerTestCase::testErrorHandler
in drupal/
modules/
simpletest/
tests/
error.test
Test the error handler.
DrupalErrorHandlerTestCase::testExceptionHandler
in drupal/
modules/
simpletest/
tests/
error.test
Test the exception handler.
DrupalWebTestCase::drupalPost
in drupal/
modules/
simpletest/
drupal_web_test_case.php
Execute a POST request on a Drupal page. It will be done as usual POST request with SimpleBrowser.
drupal_move_uploaded_file
in drupal/
includes/
file.inc
Moves an uploaded file to a new location.
FileFieldAnonymousSubmission::testAnonymousNodeWithFile
in drupal/
modules/
file/
tests/
file.test
Tests file submission for an anonymous visitor.
FileFieldAnonymousSubmission::_testNodeWithFileWithoutTitle
in drupal/
modules/
file/
tests/
file.test
Helper method to test file submissions with missing node titles.
FileFieldDisplayTestCase::testNodeDisplay
in drupal/
modules/
file/
tests/
file.test
Tests normal formatter display on node display.
FileFieldTestCase::replaceNodeFile
in drupal/
modules/
file/
tests/
file.test
Replaces a file within a node.
FileFieldTestCase::uploadNodeFile
in drupal/
modules/
file/
tests/
file.test
Uploads a file to a node.
FileFieldWidgetTestCase::doTestTemporaryFileRemovalExploit
in drupal/
modules/
file/
tests/
file.test
Helper for testing exploiting the temporary file removal using fid.
FileFieldWidgetTestCase::testMultiValuedWidget
in drupal/
modules/
file/
tests/
file.test
Tests upload and remove buttons for multiple multi-valued File fields.
FileFieldWidgetTestCase::testPrivateFileComment
in drupal/
modules/
file/
tests/
file.test
Tests that download restrictions on private files work on comments.
FileFieldWidgetTestCase::testWidgetValidation
in drupal/
modules/
file/
tests/
file.test
Tests validation with the Upload button.
FileManagedFileElementTestCase::testManagedFile
in drupal/
modules/
file/
tests/
file.test
Tests the managed_file element type.
FilePrivateTestCase::testPrivateFile
in drupal/
modules/
file/
tests/
file.test
Tests file access for file uploaded to a private node.
FileSaveUploadTest::setUp
in drupal/
modules/
simpletest/
tests/
file.test
Sets up a Drupal site for running functional and integration tests.
FileSaveUploadTest::testExistingError
in drupal/
modules/
simpletest/
tests/
file.test
Test for failure when uploading over a file that already exists.
FileSaveUploadTest::testExistingRename
in drupal/
modules/
simpletest/
tests/
file.test
Test renaming when uploading over a file that already exists.
FileSaveUploadTest::testExistingReplace
in drupal/
modules/
simpletest/
tests/
file.test
Test replacement when uploading over a file that already exists.
FileSaveUploadTest::testHandleDangerousFile
in drupal/
modules/
simpletest/
tests/
file.test
Test dangerous file handling.
FileSaveUploadTest::testHandleExtension
in drupal/
modules/
simpletest/
tests/
file.test
Test extension handling.
FileSaveUploadTest::testHandleFileMunge
in drupal/
modules/
simpletest/
tests/
file.test
Test file munge handling.
FileSaveUploadTest::testNormal
in drupal/
modules/
simpletest/
tests/
file.test
Test the
file_save_upload
() function.
FileTaxonomyTermTestCase::_testTermFile
in drupal/
modules/
file/
tests/
file.test
Runs tests for attaching a file field to a taxonomy term.
FileTransfer::checkPath
in drupal/
includes/
filetransfer/
filetransfer.inc
Checks that the path is inside the jail and throws an exception if not.
file_copy
in drupal/
includes/
file.inc
Copies a file to a new location and adds a file record to the database.
file_delete
in drupal/
includes/
file.inc
Deletes a file and its database record.
file_move
in drupal/
includes/
file.inc
Moves a file to a new location and update the file's database entry.
file_unmanaged_copy
in drupal/
includes/
file.inc
Copies a file to a new location without invoking the file API.
FormStateValuesCleanAdvancedTestCase::testFormStateValuesCleanAdvanced
in drupal/
modules/
simpletest/
tests/
form.test
Tests
form_state_values_clean
().
ImageFieldDisplayTestCase::testImageFieldDefaultImage
in drupal/
modules/
image/
image.test
Test use of a default image with an image field.
ImageFieldTestCase::uploadNodeImage
in drupal/
modules/
image/
image.test
Upload an image to a node.
image_gd_save
in drupal/
modules/
system/
image.gd.inc
GD helper to write an image resource to a destination file.
RdfRdfaMarkupTestCase::testAttributesInMarkupFile
in drupal/
modules/
rdf/
rdf.test
Ensure that file fields have the correct resource as the object in RDFa when displayed as a teaser.
SystemThemeFunctionalTest::testThemeSettings
in drupal/
modules/
system/
system.test
Test the theme settings form.
system_retrieve_file
in drupal/
modules/
system/
system.module
Attempts to get a file using drupal_http_request and to store it locally.
update_manager_file_get
in drupal/
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/
modules/
update/
update.manager.inc
Form submission handler for
update_manager_install_form
().
update_manager_update_ready_form_submit
in drupal/
modules/
update/
update.manager.inc
Form submission handler for
update_manager_update_ready_form
().
UserPasswordResetTestCase::testUserPasswordReset
in drupal/
modules/
user/
user.test
Tests password reset functionality.
UserPictureTestCase::saveUserPicture
in drupal/
modules/
user/
user.test
UserPictureTestCase::testDeletePicture
in drupal/
modules/
user/
user.test
Tests deletion of user pictures.
_color_render_images
in drupal/
modules/
color/
color.module
Renders images that match a given palette.
_system_theme_settings_validate_path
in drupal/
modules/
system/
system.admin.inc
Helper function for the system_theme_settings form.