Browse Source

added node level actions

main
astanley 2 weeks ago
parent
commit
8d081dc34d
  1. 10
      README.md
  2. 1
      media_file_privacy.info.yml

10
README.md

@ -41,3 +41,13 @@ settings.php:
The directory must be writable by the web/PHP user. The directory must be writable by the web/PHP user.
## Node action
The module also provides **Move associated unpublished media files to private storage** as a node action.
For each selected node it finds media whose `field_media_of` references that node and applies the existing
`media_file_privacy_move_unpublished_private` media action to each accessible media item.
The module also provides **Move associated published media files to public storage** as a node action.
For each selected node it finds media whose `field_media_of` references that node and applies the existing
`media_file_privacy_move_published_public` media action to each accessible media item.

1
media_file_privacy.info.yml

@ -6,3 +6,4 @@ core_version_requirement: ^10.2 || ^11
dependencies: dependencies:
- drupal:file - drupal:file
- drupal:media - drupal:media
- drupal:node

Loading…
Cancel
Save