[RSS Feed/News] Extend entity/threadfield

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Code:

Code:
<?php

namespace Xencafe\...\XF\Entity;

class ThreadField extends XFCP_ThreadField
{
    public static function getStructure(Structure $structure)
    {
        self::setupDefaultStructure(
            $structure,
            'xf_thread_field',
            'XF:ThreadField',
            [
                'groups' => ['before', 'after', 'thread_status','header'],
                'has_user_group_editable' => true,
                'has_wrapper_template' => true,
            ]
        )...

Read more
Read more about this Feed . . .
 
Status
Not open for further replies.
Back
Top Bottom