protected property Media::$filters in Media entity 8
Set default values for the filters.
Overrides WizardPluginBase::$filters
File
- src/
Plugin/ views/ wizard/ Media.php, line 26
Class
- Media
- Tests creating media views with the wizard.
Namespace
Drupal\media_entity\Plugin\views\wizardCode
protected $filters = [
'status' => [
'value' => TRUE,
'table' => 'media_field_data',
'field' => 'status',
'plugin_id' => 'boolean',
'entity_type' => 'media',
'entity_field' => 'status',
],
];