original_string: protected function generic_info() {
  
          $title = get_string('pluginname', 'tool_behat');
  
          // Header.
          $html = $this->output->header();
          $html .= $this->output->heading($title);
  
          // Info.
          $installurl = behat_command::DOCS_URL;
          $installlink = html_writer::tag('a', $installurl, array('href' => $installurl, 'target' => '_blank'));
          $writetestsurl = 'https://docs.moodle.org/dev/Writing acceptance tests';
          $writetestslink = html_writer::tag('a', $writetestsurl, array('href' => $writetestsurl, 'target' => '_blank'));
          $writestepsurl = 'https://docs.moodle.org/dev/Writing_new_acceptance_test_step_definitions';
          $writestepslink = html_writer::tag('a', $writestepsurl, array('href' => $writestepsurl, 'target' => '_blank'));
          $infos = array(
              get_string('installinfo', 'tool_behat', $installlink),
              get_string('newtestsinfo', 'tool_behat', $writetestslink),
              get_string('newstepsinfo', 'tool_behat', $writestepslink)
          );
  
          // List of steps.
          $html .= $this->output->box_start();
          $html .= html_writer::tag('h3', get_string('infoheading', 'tool_behat'));
          $html .= html_writer::tag('div', get_string('aim', 'tool_behat'));
          $html .= html_writer::start_tag('div');
          $html .= html_writer::start_tag('ul');
          $html .= html_writer::start_tag('li');
          $html .= implode(html_writer::end_tag('li') . html_writer::start_tag('li'), $infos);
          $html .= html_writer::end_tag('li');
          $html .= html_writer::end_tag('ul');
          $html .= html_writer::end_tag('div');
          $html .= $this->output->box_end();
  
          return $html;
      }
code: protected function generic_info() {
  
          $title = get_string('pluginname', 'tool_behat');
  
          // Header.
          $html = $this->output->header();
          $html .= $this->output->heading($title);
  
          // Info.
          $installurl = behat_command::DOCS_URL;
          $installlink = html_writer::tag('a', $installurl, array('href' => $installurl, 'target' => '_blank'));
          $writetestsurl = 'https://docs.moodle.org/dev/Writing acceptance tests';
          $writetestslink = html_writer::tag('a', $writetestsurl, array('href' => $writetestsurl, 'target' => '_blank'));
          $writestepsurl = 'https://docs.moodle.org/dev/Writing_new_acceptance_test_step_definitions';
          $writestepslink = html_writer::tag('a', $writestepsurl, array('href' => $writestepsurl, 'target' => '_blank'));
          $infos = array(
              get_string('installinfo', 'tool_behat', $installlink),
              get_string('newtestsinfo', 'tool_behat', $writetestslink),
              get_string('newstepsinfo', 'tool_behat', $writestepslink)
          );
  
          // List of steps.
          $html .= $this->output->box_start();
          $html .= html_writer::tag('h3', get_string('infoheading', 'tool_behat'));
          $html .= html_writer::tag('div', get_string('aim', 'tool_behat'));
          $html .= html_writer::start_tag('div');
          $html .= html_writer::start_tag('ul');
          $html .= html_writer::start_tag('li');
          $html .= implode(html_writer::end_tag('li') . html_writer::start_tag('li'), $infos);
          $html .= html_writer::end_tag('li');
          $html .= html_writer::end_tag('ul');
          $html .= html_writer::end_tag('div');
          $html .= $this->output->box_end();
  
          return $html;
      }
code_tokens: protected function generic_info ( ) { $ title = get_string ( 'pluginname' , 'tool_behat' ) ; // Header. $ html = $ this -> output -> header ( ) ; $ html .= $ this -> output -> heading ( $ title ) ; // Info. $ installurl = behat_command :: DOCS_URL ; $ installlink = html_writer :: tag ( 'a' , $ installurl , array ( 'href' => $ installurl , 'target' => '_blank' ) ) ; $ writetestsurl = 'https://docs.moodle.org/dev/Writing acceptance tests' ; $ writetestslink = html_writer :: tag ( 'a' , $ writetestsurl , array ( 'href' => $ writetestsurl , 'target' => '_blank' ) ) ; $ writestepsurl = 'https://docs.moodle.org/dev/Writing_new_acceptance_test_step_definitions' ; $ writestepslink = html_writer :: tag ( 'a' , $ writestepsurl , array ( 'href' => $ writestepsurl , 'target' => '_blank' ) ) ; $ infos = array ( get_string ( 'installinfo' , 'tool_behat' , $ installlink ) , get_string ( 'newtestsinfo' , 'tool_behat' , $ writetestslink ) , get_string ( 'newstepsinfo' , 'tool_behat' , $ writestepslink ) ) ; // List of steps. $ html .= $ this -> output -> box_start ( ) ; $ html .= html_writer :: tag ( 'h3' , get_string ( 'infoheading' , 'tool_behat' ) ) ; $ html .= html_writer :: tag ( 'div' , get_string ( 'aim' , 'tool_behat' ) ) ; $ html .= html_writer :: start_tag ( 'div' ) ; $ html .= html_writer :: start_tag ( 'ul' ) ; $ html .= html_writer :: start_tag ( 'li' ) ; $ html .= implode ( html_writer :: end_tag ( 'li' ) . html_writer :: start_tag ( 'li' ) , $ infos ) ; $ html .= html_writer :: end_tag ( 'li' ) ; $ html .= html_writer :: end_tag ( 'ul' ) ; $ html .= html_writer :: end_tag ( 'div' ) ; $ html .= $ this -> output -> box_end ( ) ; return $ html ; }
docstring: Generic info about the tool.
  
  @return string
docstring_tokens: Generic info about the tool .