ContentEntityType::getRevisionMetadataKeys() doesn't document the revision_default key

Created on 13 February 2020, over 4 years ago
Updated 17 July 2023, 11 months ago

API page: https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Entity%21...

When I call this on my entity type, there is a 4th key ''revision_default'' that is not mentioned in the docs.

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component
DocumentationΒ  β†’

Last updated less than a minute ago

No maintainer
Created by

πŸ‡¬πŸ‡§United Kingdom joachim

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¦πŸ‡ΊAustralia acbramley

    This feels like a task rather than a bug.

    Note that the revision_default key actually comes from the ContentEntityType constructor:

        $this->revision_metadata_keys += [
          'revision_default' => 'revision_default',
        ];
    

    Whereas the documentation comes from the Interface.

Production build 0.69.0 2024