class MetadataInfo in Filebrowser 3.x
Same name and namespace in other branches
- 8.2 src/Events/MetadataInfo.php \Drupal\filebrowser\Events\MetadataInfo
Hierarchy
- class \Drupal\filebrowser\Events\MetadataInfo extends \Symfony\Contracts\EventDispatcher\Event
Expanded class hierarchy of MetadataInfo
4 files declare their use of MetadataInfo
- FilebrowserManager.php in src/
FilebrowserManager.php - MetadataInfoEventSubscriber.php in src/
EventSubscriber/ MetadataInfoEventSubscriber.php - MetadataInfoEventSubscriber.php in modules/
src/ EventSubscriber/ MetadataInfoEventSubscriber.php - Presentation.php in src/
Presentation.php
File
- src/
Events/ MetadataInfo.php, line 7
Namespace
Drupal\filebrowser\EventsView source
class MetadataInfo extends Event {
/**
* @var array
* $metaDataInfo is an associative array with following fields
* 'key' = [
* 'title' => t('Description'), // required
* 'writable' => TRUE, // optional, default false
* 'sortable' => TRUE, // optional, default false
* 'type' => 'string // required
*/
protected $metaDataInfo;
/**
* MetadataInfo constructor.
* @param $metaDataInfo
*/
public function __construct($metaDataInfo) {
$this->metaDataInfo = $metaDataInfo;
}
/**
* @return mixed
*/
public function getMetaDataInfo() {
return $this->metaDataInfo;
}
/**
* @param mixed $metaDataInfo
*/
public function setMetaDataInfo($metaDataInfo) {
$this->metaDataInfo = $metaDataInfo;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MetadataInfo:: |
protected | property | $metaDataInfo is an associative array with following fields 'key' = [ 'title' => t('Description'), // required 'writable' => TRUE, // optional, default false 'sortable' => TRUE, … | |
MetadataInfo:: |
public | function | ||
MetadataInfo:: |
public | function | ||
MetadataInfo:: |
public | function | MetadataInfo constructor. |