original_string: public function block_move_target($target, $zones, $previous, $region) {
          if ($previous == null) {
              if (empty($zones)) {
                  // There are no zones, probably because there are no blocks.
                  $regions = $this->page->theme->get_all_block_regions();
                  $position = get_string('moveblockinregion', 'block', $regions[$region]);
              } else {
                  $position = get_string('moveblockbefore', 'block', $zones[0]);
              }
          } else {
              $position = get_string('moveblockafter', 'block', $previous);
          }
          return html_writer::tag('a', html_writer::tag('span', $position, array('class' => 'accesshide')), array('href' => $target->url, 'class' => 'blockmovetarget'));
      }
code: public function block_move_target($target, $zones, $previous, $region) {
          if ($previous == null) {
              if (empty($zones)) {
                  // There are no zones, probably because there are no blocks.
                  $regions = $this->page->theme->get_all_block_regions();
                  $position = get_string('moveblockinregion', 'block', $regions[$region]);
              } else {
                  $position = get_string('moveblockbefore', 'block', $zones[0]);
              }
          } else {
              $position = get_string('moveblockafter', 'block', $previous);
          }
          return html_writer::tag('a', html_writer::tag('span', $position, array('class' => 'accesshide')), array('href' => $target->url, 'class' => 'blockmovetarget'));
      }
code_tokens: public function block_move_target ( $ target , $ zones , $ previous , $ region ) { if ( $ previous == null ) { if ( empty ( $ zones ) ) { // There are no zones, probably because there are no blocks. $ regions = $ this -> page -> theme -> get_all_block_regions ( ) ; $ position = get_string ( 'moveblockinregion' , 'block' , $ regions [ $ region ] ) ; } else { $ position = get_string ( 'moveblockbefore' , 'block' , $ zones [ 0 ] ) ; } } else { $ position = get_string ( 'moveblockafter' , 'block' , $ previous ) ; } return html_writer :: tag ( 'a' , html_writer :: tag ( 'span' , $ position , array ( 'class' => 'accesshide' ) ) , array ( 'href' => $ target -> url , 'class' => 'blockmovetarget' ) ) ; }
docstring: Output a place where the block that is currently being moved can be dropped.
  
  @param block_move_target $target with the necessary details.
  @param array $zones array of areas where the block can be moved to
  @param string $previous the block located before the area currently being rendered.
  @param string $region the name of the region
  @return string the HTML to be output.
docstring_tokens: Output a place where the block that is currently being moved can be dropped .