| Current Path : /home/rtorresani/www/vendor/magento/module-backend/Model/Widget/Grid/Row/ |
| Current File : //home/rtorresani/www/vendor/magento/module-backend/Model/Widget/Grid/Row/UrlGeneratorId.php |
<?php
/**
* Grid row url generator
*
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Backend\Model\Widget\Grid\Row;
/**
* @api
* @since 100.0.2
*/
class UrlGeneratorId implements \Magento\Backend\Model\Widget\Grid\Row\GeneratorInterface
{
/**
* Create url for passed item using passed url model
*
* @param \Magento\Framework\DataObject $item
* @return string
*/
public function getUrl($item)
{
return $item->getId();
}
}