original_string: 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);
      }
code: 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);
      }
code_tokens: 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 ) ; }
docstring: Determines the default edit link for node
  
  @param null|string $locale
  @return string
docstring_tokens: Determines the default edit link for node