mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-10-12 02:01:37 +00:00
21 lines
491 B
PHP
21 lines
491 B
PHP
<?php
|
|
|
|
namespace BookStack\View\ViewBlocks;
|
|
|
|
use BookStack\View\ViewBlock;
|
|
use Illuminate\Http\Request;
|
|
|
|
class ChaptersShowSearchForm extends ViewBlock
|
|
{
|
|
protected string $id = 'builtin_chapters-show-search-form';
|
|
protected string $view = 'entities.search-form';
|
|
protected string $labelTranslationKey = 'common.search';
|
|
|
|
public function withData(array $viewData): array
|
|
{
|
|
return [
|
|
'label' => trans('entities.chapters_search_this'),
|
|
];
|
|
}
|
|
}
|