widgetName = JText::translate('VBO_W_INQUIRIESCHAT_TITLE'); $this->widgetDescr = JText::translate('VBO_W_INQUIRIESCHAT_DESCR'); $this->widgetId = basename(__FILE__, '.php'); $this->widgetIcon = ''; $this->widgetStyleName = 'green'; } /** * @inheritDoc */ public function preload() { // require FontAwesome brands VikBookingIcons::loadRemoteAssets(); // then preload parent widget return parent::preload(); } /** * Checks for new notifications by using the previous preloaded watch-data. * * @param ?VBONotificationWatchdata $watch_data The preloaded watch-data object. * * @return array Data object to watch next and notifications array. * * @see preload() */ public function getNotifications(?VBONotificationWatchdata $watch_data = null) { // do not observe notifications return [null, null]; } }