I'm porting my first module from Drupal 7 to Drupal 8 and 9, the module itself works, but now I'm stuck on the hook_install. The purpose of my call to hook_install is to create some directories in the public files directory as well as copy some files into them.
In Drupal 7 I used "file_prepare_directory" to create the needed directories. In Drupal 8 this still works, but is advised against since it's deprecated, But it's removed from Drupal 9.x. So I've found it can be replaced by
I'm not a programmer so I tried looking for a module that can fetch data from external api and then render it live. I found one called External Entities but it doesn't work with the api that I use as it gives this error: The "list" entity cannot have a URI as it does not have an ID the api is https://api.adoreanime.com/api/pixiv/?type=rank&mode=month&page=1&date=2... if anyone wants to test.
TECEZE is a managed IT service provider company which provides on-site, private cloud or hybrid services, and cyber security services to the companies(all public & private) in the United Kingdom.
We have a Drupal website with several pages made by our developers. We had an editing course so that we could start to edit the website ourselves. I have to delete one image on a page, but there is no option to select specific contents so I could delete them, but I can delete the whole page that contains that image, so I'm guessing permissions aren't the issue here. Is that correct?
If so, what could be the reason I can't delete this image?