Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (20 sloc) 554 Bytes
namespace Frontend\Modules\MediaLibrary\Widgets;
use Frontend\Modules\MediaLibrary\Widgets\Base\FrontendMediaWidget;
* This will show a MediaGroup (Custom Module) or a MediaGallery (Media Module) in a list.
class Listing extends FrontendMediaWidget
public function execute(): void
// We need to have a MediaGroup to show this widget
if (!$this->mediaGroup) {
You can’t perform that action at this time.