File module public API functions

These functions may be used to determine if and where a file is in use.

Functions

NameLocationDescription
file_get_file_referencesmodules/file/file.moduleGet a list of references to a file.
file_get_file_reference_countmodules/file/file.moduleCount the number of times the file is referenced.
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.