public function MediaSourceInfoAlterEvent::__construct in Hook Event Dispatcher 3.x
Same name and namespace in other branches
- 8.2 modules/media_event_dispatcher/src/Event/Media/MediaSourceInfoAlterEvent.php \Drupal\media_event_dispatcher\Event\Media\MediaSourceInfoAlterEvent::__construct()
MediaSourceInfoAlterEvent constructor.
Parameters
array &$sources: The array of media source plugin definitions, keyed by plugin ID.
File
- modules/
media_event_dispatcher/ src/ Event/ Media/ MediaSourceInfoAlterEvent.php, line 27
Class
- MediaSourceInfoAlterEvent
- Class MediaSourceInfoAlterEvent.
Namespace
Drupal\media_event_dispatcher\Event\MediaCode
public function __construct(array &$sources) {
$this->sources =& $sources;
}