Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 8.x
»
file.inc
»
drupal_basename
Search Drupal 8.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 8.x
Topics
Classes
Functions
Files
Namespaces
Services
Constants
Globals
Deprecated
37 calls to drupal_basename()
color_scheme_form_submit
in drupal/
core/
modules/
color/
color.module
Form submission handler for
color_scheme_form
().
drupal_add_css
in drupal/
core/
includes/
common.inc
Adds a cascading stylesheet to the stylesheet queue.
drupal_tempnam
in drupal/
core/
includes/
file.inc
Creates a file with a unique filename in the specified directory.
FileManagedTestBase::createFile
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
FileManagedTestBase.php
Create a file and save it to the files table and assert that it occurs correctly.
FileStorageController::create
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
FileStorageController.php
Overrides
Drupal\Core\Entity\DatabaseStorageController::create
().
FileTransfer::copyDirectoryJailed
in drupal/
core/
lib/
Drupal/
Core/
FileTransfer/
FileTransfer.php
Copies a directory.
FileTransfer::findChroot
in drupal/
core/
lib/
Drupal/
Core/
FileTransfer/
FileTransfer.php
Returns the chroot property for this connection.
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_destination
in drupal/
core/
includes/
file.inc
Determines the destination path for a file.
file_move
in drupal/
core/
modules/
file/
file.module
Moves a file to a new location and update the file's database entry.
file_save_data
in drupal/
core/
modules/
file/
file.module
Saves a file to the specified destination and creates a database entry.
file_save_upload
in drupal/
core/
includes/
file.inc
Saves file uploads to a new location.
file_unmanaged_copy
in drupal/
core/
includes/
file.inc
Copies a file to a new location without invoking the file API.
FrameworkTest::testLazyLoad
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Ajax/
FrameworkTest.php
Tests that new JavaScript and CSS files are lazy-loaded on an AJAX request.
ImageDimensionsTest::testImageDimensions
in drupal/
core/
modules/
image/
lib/
Drupal/
image/
Tests/
ImageDimensionsTest.php
Test styled image dimensions cumulatively.
ImageStylesPathAndUrlTest::_testImageStyleUrlAndPath
in drupal/
core/
modules/
image/
lib/
Drupal/
image/
Tests/
ImageStylesPathAndUrlTest.php
Tests
image_style_url
().
install_retrieve_file
in drupal/
core/
includes/
install.core.inc
Attempts to get a file using a HTTP request and to store it locally.
locale_translate_file_create
in drupal/
core/
modules/
locale/
locale.bulk.inc
Creates a file object and populates the timestamp property.
LocalStream::getLocalPath
in drupal/
core/
lib/
Drupal/
Core/
StreamWrapper/
LocalStream.php
Returns the canonical absolute path of the URI, if possible.
LocalStream::getMimeType
in drupal/
core/
lib/
Drupal/
Core/
StreamWrapper/
LocalStream.php
Implements
Drupal\Core\StreamWrapper\StreamWrapperInterface::getMimeType
().
SaveDataTest::testWithFilename
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
SaveDataTest.php
Test the
file_save_data
() function when a filename is provided.
SaveDataTest::testWithoutFilename
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
SaveDataTest.php
Test the
file_save_data
() function when no filename is provided.
SaveUploadTest::testNormal
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
SaveUploadTest.php
Test the
file_save_upload
() function.
SimpleTestErrorCollectorTest::assertError
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
SimpleTestErrorCollectorTest.php
Asserts that a collected error matches what we are expecting.
SimpletestResultsForm::buildForm
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
Form/
SimpletestResultsForm.php
Form constructor.
system_retrieve_file
in drupal/
core/
modules/
system/
system.module
Attempts to get a file using Guzzle HTTP client and to store it locally.
UnmanagedSaveDataTest::testFileSaveData
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
File/
UnmanagedSaveDataTest.php
Test the
file_unmanaged_save_data
() function.
Updater::findInfoFile
in drupal/
core/
lib/
Drupal/
Core/
Updater/
Updater.php
Determines what the most important (or only) info file is in a directory.
Updater::getProjectName
in drupal/
core/
lib/
Drupal/
Core/
Updater/
Updater.php
Gets the name of the project directory (basename).
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_verify_update_archive
in drupal/
core/
modules/
update/
update.module
Implements
hook_verify_update_archive
().
UrlRewritingTest::testPublicCreatedFileURL
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
File/
UrlRewritingTest.php
Test the generating of rewritten public created file URLs.
user_update_8011
in drupal/
core/
modules/
user/
user.install
Create user picture field.
ValidatorTest::setUp
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
ValidatorTest.php
Sets up a Drupal site for running functional and integration tests.
_color_html_alter
in drupal/
core/
modules/
color/
color.module
Replaces style sheets with color-altered style sheets.
_color_render_images
in drupal/
core/
modules/
color/
color.module
Renders images that match a given palette.
_drupal_theme_initialize
in drupal/
core/
includes/
theme.inc
Initializes the theme system given already loaded information.