Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. MediaLibraryState.php

function MediaLibraryState::getCacheContexts

Overrides CacheableDependencyInterface::getCacheContexts

File

core/modules/media_library/src/MediaLibraryState.php, line 280

Class

MediaLibraryState
A value object for the media library state.

Namespace

Drupal\media_library

Code

public function getCacheContexts() {
    return [
        'url.query_args',
    ];
}
RSS feed
Powered by Drupal