. // }}} /** * Handle email notifications * * @package GNUsocial * @category Component * * @author Hugo Sales * @copyright 2020 Free Software Foundation, Inc http://www.fsf.org * @license https://www.gnu.org/licenses/agpl.html GNU AGPL v3 or later */ namespace Component\Email; use App\Core\Event; use App\Core\Module; class Email extends Module { public function onAddNotificationTransport(&$form_defs): bool { $form_defs['email'] = $form_defs['placeholder']; return Event::next; } }