You are here

public function MediaSourceInfoAlterEvent::getSources in Hook Event Dispatcher 8.2

Same name and namespace in other branches
  1. 3.x modules/media_event_dispatcher/src/Event/Media/MediaSourceInfoAlterEvent.php \Drupal\media_event_dispatcher\Event\Media\MediaSourceInfoAlterEvent::getSources()

Get the media source plugin definitions.

Return value

array The array of media source plugin definitions, keyed by plugin ID.

File

modules/media_event_dispatcher/src/Event/Media/MediaSourceInfoAlterEvent.php, line 37

Class

MediaSourceInfoAlterEvent
Class MediaSourceInfoAlterEvent.

Namespace

Drupal\media_event_dispatcher\Event\Media

Code

public function &getSources() : array {
  return $this->sources;
}