Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
DraggableHandle.php
Go to the documentation of this file.
1 <?php
7 
13 class DraggableHandle extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer
14 {
21  public function render(\Magento\Framework\DataObject $row)
22  {
23  return '<span class="' .
24  $this->getColumn()->getInlineCss() .
25  '"></span>' .
26  '<input type="hidden" name="entity_id" value="' .
27  $row->getData(
28  $this->getColumn()->getIndex()
29  ) . '"/>' . '<input type="hidden" name="position" value=""/>';
30  }
31 }