I'm working on a small idea using PHP with Laravel and i would like to delete the endpoint key. if exists.
array:2 [▼
"multiple" => array:2 [▼
0 => array:5 [▼
"label" => "EDIT"
"key" => "edit"
"method" => "GET"
"icon" => "EDITICON"
"endpoint" => "settings.attributes.edit"
]
1 => array:5 [▼
"label" => "Delete"
"key" => "edit"
"method" => "DELETE"
"icon" => "DELETEICON"
"endpoint" => "settings.attributes.delete"
]
]
"bulk" => array:1 [▼
0 => array:4 [▼
"label" => "DELETE"
"method" => "PUT"
"type" => "DELETE"
"endpoint" => "settings.attributes.delete"
]
]
]