MetadataEvent.php in Filebrowser 8.2
File
src/Events/MetadataEvent.php
View source
<?php
namespace Drupal\filebrowser\Events;
use Symfony\Component\EventDispatcher\Event;
class MetadataEvent extends Event {
protected $metadata;
protected $fid;
public $file;
public $subdir_fid;
public $nid;
public $columns;
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;
}
public function getFid() {
return $this->fid;
}
public function setFid($fid) {
$this->fid = $fid;
}
public function getMetadata() {
return $this->metadata;
}
public function setMetadata($metadata) {
$this->metadata = $metadata;
}
}