Seditio Source
Root |
./othercms/xenForo 2.2.8/src/XF/AdminSearch/ThreadPrefix.php
<?php

namespace XF\AdminSearch;

class
ThreadPrefix extends AbstractPrefix
{
    protected function
getFinderName()
    {
        return
'XF:ThreadPrefix';
    }

    public function
getRelatedPhraseGroups()
    {
        return [
'thread_prefix'];
    }

    protected function
getRouteName()
    {
        return
'thread-prefixes/edit';
    }

    public function
isSearchable()
    {
        return \
XF::visitor()->hasAdminPermission('thread');
    }
}