src/Node.php
public function getDefaultEditUrl($locale = null)
    {
        $parameters = [
            $this->getKey(),
            $this->translateOrFirst($locale)->getKey()
        ];

        if ($this->hidesChildren())
        {
            if ($this->children_display_mode === 'tree')
            {
                $parameters = current($parameters);
            }

            return route('reactor.nodes.children.' . $this->children_display_mode,
                $parameters);
        }

        return route('reactor.nodes.edit',
            $parameters);
    }
public function getDefaultEditUrl($locale = null)
    {
        $parameters = [
            $this->getKey(),
            $this->translateOrFirst($locale)->getKey()
        ];

        if ($this->hidesChildren())
        {
            if ($this->children_display_mode === 'tree')
            {
                $parameters = current($parameters);
            }

            return route('reactor.nodes.children.' . $this->children_display_mode,
                $parameters);
        }

        return route('reactor.nodes.edit',
            $parameters);
    }
public function getDefaultEditUrl ( $ locale = null ) { $ parameters = [ $ this -> getKey ( ) , $ this -> translateOrFirst ( $ locale ) -> getKey ( ) ] ; if ( $ this -> hidesChildren ( ) ) { if ( $ this -> children_display_mode === 'tree' ) { $ parameters = current ( $ parameters ) ; } return route ( 'reactor.nodes.children.' . $ this -> children_display_mode , $ parameters ) ; } return route ( 'reactor.nodes.edit' , $ parameters ) ; }
Determines the default edit link for node

@param null|string $locale
@return string
Determines the default edit link for node