function MediaLibraryState::getOpenerId

Same name in other branches
  1. 9 core/modules/media_library/src/MediaLibraryState.php \Drupal\media_library\MediaLibraryState::getOpenerId()
  2. 8.9.x core/modules/media_library/src/MediaLibraryState.php \Drupal\media_library\MediaLibraryState::getOpenerId()
  3. 10 core/modules/media_library/src/MediaLibraryState.php \Drupal\media_library\MediaLibraryState::getOpenerId()

Returns the ID of the media library opener service.

Return value

string The media library opener service ID.

1 call to MediaLibraryState::getOpenerId()
MediaLibraryState::getHash in core/modules/media_library/src/MediaLibraryState.php
Get the hash for the state object.

File

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

Class

MediaLibraryState
A value object for the media library state.

Namespace

Drupal\media_library

Code

public function getOpenerId() {
    return $this->get('media_library_opener_id');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.