PHP code example of webakula / la2-custom-actions-button
1. Go to this page and download the library: Download webakula/la2-custom-actions-button library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
webakula / la2-custom-actions-button example snippets
'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"
]
]
],