composer require nim4n/custom-actions-button
In the configuration section of the file config/admin.php extension, add the configuration of this extension.
'extensions' => [
'custom-actions-button' => [
"enable" => true,
"view" => [
"label" => "Detail",
"icon" => "fa fa-eye",
"class" => "btn btn-sm btn-info"
],
"edit" => [
"label" => "Edit",
"icon" => "fa fa-edit",
"class" => "btn btn-sm btn-warning"
],
"delete" => [
"label" => "",
"icon" => "fa fa-trash",
"class" => "btn btn-sm btn-danger"
]
]
],
Licensed under The MIT License (MIT).