public function getIdPathAction()
{
$id = (int) $this->getParam("id");
$type = $this->getParam("type");
$response = ["success" => true];
if ($element = Element\Service::getElementById($type, $id)) {
$response["idPath"] = Element\Service::getIdPath($element);
}
$this->_helper->json($response);
}