LinkStack/blocks/telephone/handler.php
Julian Prieber c1a47556f5 Make Block System Modular
The block system now works off a basic modularity/expansion principle where users can add their own blocks
2024-06-20 12:24:54 +02:00

18 lines
417 B
PHP

<?php
/**
* Handles the logic for "telephone" 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' => "44",
];
return $linkData;
}