You are here

function LinkitPluginFile::buildPath in Linkit 7.2

Build an URL based in the path and the options.

Overrides LinkitPluginEntity::buildPath

File

plugins/linkit_plugins/linkit-plugin-file.class.php, line 25
Define Linkit file plugin class.

Class

LinkitPluginFile
@file Define Linkit file plugin class.

Code

function buildPath($entity, $options = array()) {
  return file_create_url($entity->uri);
}