18 lines
417 B
PHP
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;
|
||
|
}
|