class UserActionsEvent in Filebrowser 8.2
Same name and namespace in other branches
- 3.x src/Events/UserActionsEvent.php \Drupal\filebrowser\Events\UserActionsEvent
Hierarchy
- class \Drupal\filebrowser\Events\UserActionsEvent extends \Symfony\Component\EventDispatcher\Event
Expanded class hierarchy of UserActionsEvent
1 file declares its use of UserActionsEvent
- UserActionsEventSubscriber.php in src/
EventSubscriber/ UserActionsEventSubscriber.php
File
- src/
Events/ UserActionsEvent.php, line 7
Namespace
Drupal\filebrowser\EventsView source
class UserActionsEvent extends Event {
protected $actions;
protected $fileData;
/**
* ActionsInfoEvent constructor.
* @param array $actions
* @param array $fileData Array containing a list of files to be displayed
* on a filebrowser node.
*/
public function __construct($actions, $fileData) {
$this->actions = $actions;
$this->fileData = $fileData;
}
/**
* @return mixed
*/
public function getActions() {
return $this->actions;
}
/**
* @param mixed $actions
*/
public function setActions($actions) {
$this->actions = $actions;
}
public function getFileData() {
return $this->fileData;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
UserActionsEvent:: |
protected | property | ||
UserActionsEvent:: |
protected | property | ||
UserActionsEvent:: |
public | function | ||
UserActionsEvent:: |
public | function | ||
UserActionsEvent:: |
public | function | ||
UserActionsEvent:: |
public | function | ActionsInfoEvent constructor. |