original_string: public function action() {
          if ($this->action instanceof moodle_url) {
              return $this->action;
          } else if ($this->action instanceof action_link) {
              return $this->action->url;
          }
          return $this->action;
      }
code: public function action() {
          if ($this->action instanceof moodle_url) {
              return $this->action;
          } else if ($this->action instanceof action_link) {
              return $this->action->url;
          }
          return $this->action;
      }
code_tokens: public function action ( ) { if ( $ this -> action instanceof moodle_url ) { return $ this -> action ; } else if ( $ this -> action instanceof action_link ) { return $ this -> action -> url ; } return $ this -> action ; }
docstring: Get the action url for this navigation node.
  Called from templates.
  
  @since Moodle 3.2
docstring_tokens: Get the action url for this navigation node . Called from templates .