1
0
mirror of https://github.com/LinkStackOrg/LinkStack.git synced 2025-03-26 00:10:34 +01:00

19 lines
446 B
PHP
Raw Normal View History

<?php
/**
* Handles the logic for "email" link type.
*
* @param \Illuminate\Http\Request $request The incoming request.
* @param mixed $linkType The link type information.
* @return array The prepared link data.
*/
function handleLinkType($request, $linkType) {
// Prepare the link data
$linkData = [
'title' => $request->title,
'button_id' => "6",
'link' => $request->link,
];
return $linkData;
}