public function MetadataEvent::__construct in Filebrowser 8.2
Same name and namespace in other branches
- 3.x src/Events/MetadataEvent.php \Drupal\filebrowser\Events\MetadataEvent::__construct()
MetadataInfo constructor.
Parameters
integer $fid:
integer $subdir_fid:
integer $nid:
array $columns Array containing the selected metadata to be displayed:
\stdClass $file:
File
- src/
Events/ MetadataEvent.php, line 46
Class
Namespace
Drupal\filebrowser\EventsCode
public function __construct($nid, $fid, $file, $subdir_fid, $columns) {
$this->fid = $fid;
$this->file = $file;
$this->subdir_fid = $subdir_fid;
$this->nid = $nid;
$this->columns = $columns;
return $this;
}