- Issue created by @glennnz
- Assigned to zanonmark
- 🇮🇹Italy zanonmark
Hi,
I admit I have no experience on this (I never tried to create directories from code), but I *think* You could succeed by running $pdf_directory->save() where $pdf_directory should be an instance of DirectoryEntity (https://git.drupalcode.org/project/private_files_download_permission/-/b...); in other words, try setting the public $id, $path etc. then run ->save().
Hope it helps a little,
MZ
- Status changed to Closed: outdated
about 1 year ago 5:14pm 30 September 2023