Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
media_expire
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
media_expire
Commits
21fbe840
Commit
21fbe840
authored
7 months ago
by
Atul Ghate
Committed by
Christian Fritsch
7 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3020251
: Fixed phpcs issues.
parent
3780647b
No related branches found
No related tags found
1 merge request
!5
Issue #3020251: Fixed phpcs issues.
Pipeline
#221041
passed
7 months ago
Stage: build
Stage: validate
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+7
-4
7 additions, 4 deletions
README.md
with
7 additions
and
4 deletions
README.md
+
7
−
4
View file @
21fbe840
# Media expire
This module enables you to unpublish your media entities automatically by setting an expire field.
This module enables you to unpublish your media entities.
This can be done automatically by setting an expiry field.
Instructions:
-
"Activate media expire" on admin/structure/media/manage/{media}
-
Specify an expir
e
field
-
Optionally:
You are able to provide a fallback entity for unpublished entities
-
Specify an expir
y
field
, and optionally,
-
You are able to provide a fallback entity for unpublished entities
Drupal checks on every cron-run if there are expired media elements. Additionally you can use "drush media-expire-check" for a manually check
Drupal checks on every cron-run if there are expired media elements.
Additionally, you can perform an on-demand check.
For manual check use "drush media-expire-check".
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment