You are here

protected property MediaRevision::$filters in Media entity 8

Set default values for the filters.

Overrides WizardPluginBase::$filters

File

src/Plugin/views/wizard/MediaRevision.php, line 26

Class

MediaRevision
Tests creating media revision views with the wizard.

Namespace

Drupal\media_entity\Plugin\views\wizard

Code

protected $filters = [
  'status' => [
    'value' => TRUE,
    'table' => 'media_field_revision',
    'field' => 'status',
    'plugin_id' => 'boolean',
    'entity_type' => 'media',
    'entity_field' => 'status',
  ],
];