Put a config value on the media bundle that will enable or disable new revisions.

Comments

slashrsm created an issue. See original summary.

slashrsm’s picture

slashrsm’s picture

Status: Active » Needs review
slashrsm’s picture

StatusFileSize
new20.91 KB
new19.21 KB

Improved #2:
- Relying on Entity API to provide revisionable entity form
- improved test coverage
- also fixes #2626038: Write test coverage for media revisions

slashrsm’s picture

StatusFileSize
new23.54 KB
new9.05 KB

@paranojik reviewed this. He suggested to mention required Entity API version in the exception message and to move "Create new revision" checkbox to the Publishing options group. I moved "Queue thumbnail downloads" there too.

slashrsm’s picture

Status: Needs review » Fixed

Committed.

  • slashrsm committed 4b9542b on 8.x-1.x
    Issue #2716737 by nickwilde, slashrsm, paranojik, berdir, ericduran, :...
lodey’s picture

Category: Task » Bug report

Hi There,

I'm getting this message on running an install with the latest dev build of the module.

PHP Fatal error: Interface 'Drupal\entity\Entity\RevisionableEntityBundleInterface' not found in /var/www/public/modules/media_entity/src/MediaBundleInterface.php on line 11

Line 6 : use Drupal\entity\Entity\RevisionableEntityBundleInterface -- this gives me an undefined class notice.

Am I missing another dependency or version upgrade somewhere? Running core 8.1.

Thanks

lodey’s picture

... scratch that.

I'm building an installation profile and was missing the entity module.... pretty obvious one!

Thanks.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.