app/View/ViewBlocks/ShelvesIndexActions.php
Rama development · réplica de lectura del repositorio original.
<?php
namespace BookStack\View\ViewBlocks;
use BookStack\View\SimpleViewBlock;
class ShelvesIndexActions extends SimpleViewBlock
{
protected static string $id = 'builtin_shelves-index-actions';
protected static string $view = 'shelves.parts.index-sidebar-section-actions';
protected static string $labelTranslationKey = 'common.actions';
public function getViewData(array $viewData): array
{
return [
'view' => $viewData['view'],
];
}
}