Skip to content
Snippets Groups Projects

Issue #3048458: Add support of "preload" attribute into FileMediaFormatterBase

Issue #3048458: Add support of "preload" attribute into FileMediaFormatterBase

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
1 <?php
2
3 namespace Drupal\file;
4
5 use Drupal\Core\Entity\Display\EntityViewDisplayInterface;
6
7 /**
8 * Provides a BC layer for modules providing old configurations.
9 *
10 * @internal
11 * This class is only meant to fix outdated file configuration and its
12 * methods should not be invoked directly. It will be removed once all the
13 * associated updates have been removed.
14 */
15 class FileConfigUpdater {
  • This needs test coverage. See ResponsiveImageConfigUpdater and its test for examples. You can look at ResponsiveImageStyle::preSave for an example how to handle install profile scenarios.

  • Please register or sign in to reply
  • Pedro Cambra added 1 commit

    added 1 commit

    Compare with previous version

  • Please register or sign in to reply
    Loading