library = 'prettyphoto'; parent::__construct(); } /** * @param $rel_id * @param Base $module * @return array */ public function get_gallery_attributes($rel_id, Base $module): array { $rel = 'lightbox-photonic-' . $module->provider . '-stream-' . (empty($rel_id) ? $module->gallery_index : $rel_id); return [ 'class' => $this->class, 'rel' => ["photonic-prettyPhoto[$rel]"], 'specific' => [], ]; } }