Provides helpers to operate on files and stream wrappers. Hierarchy class \Drupal\Core\File\
file_validate(FileInterface $file, $validators = array()) Checks that a file meets the criteria specified by
Defines the file entity class. Plugin annotation @ContentEntityType(
public FileSystem::basename($uri, $suffix = NULL) Gets
Defines the file schema handler. Hierarchy class \Drupal\Core\Entity\Sql\
public FileUsageInterface::delete(FileInterface
public File::setPermanent() Sets the file
public FileInterface::getCreatedTime() Returns
hook_file_copy(Drupal\file\FileInterface $file, Drupal\file\FileInterface $source) Respond to a file that has
file_field_find_file_reference_column(FieldDefinitionInterface $field) Determine whether a field references
Page 1 of 18