app/View/ViewBlocks/ChaptersShowSearchForm.php
Rama development · réplica de lectura del repositorio original.
<?php
namespace BookStack\View\ViewBlocks;
use BookStack\View\SimpleViewBlock;
class ChaptersShowSearchForm extends SimpleViewBlock
{
protected static string $id = 'builtin_chapters-show-search-form';
protected static string $view = 'entities.search-form';
protected static string $labelTranslationKey = 'common.search';
public function getViewData(array $viewData): array
{
return [
'label' => trans('entities.chapters_search_this'),
];
}
}