public function FileMetadataPluginInterface::setUri in File metadata manager 8
Same name and namespace in other branches
- 8.2 src/Plugin/FileMetadataPluginInterface.php \Drupal\file_mdm\Plugin\FileMetadataPluginInterface::setUri()
Sets the URI of the file.
Parameters
string $uri: A URI.
Return value
$this
Throws
\Drupal\file_mdm\FileMetadataException If no URI is specified.
1 method overrides FileMetadataPluginInterface::setUri()
- FileMetadataPluginBase::setUri in src/
Plugin/ FileMetadata/ FileMetadataPluginBase.php - Sets the URI of the file.
File
- src/
Plugin/ FileMetadataPluginInterface.php, line 33
Class
- FileMetadataPluginInterface
- Provides an interface defining a FileMetadata plugin.
Namespace
Drupal\file_mdm\PluginCode
public function setUri($uri);