Browse Source

Eliminate warnings when using NodeHasMediaUse views filter. (#914)

pull/916/head
Jason Hildebrand 2 years ago committed by GitHub
parent
commit
5f4a6ab3ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      src/Plugin/views/filter/NodeHasMediaUse.php

8
src/Plugin/views/filter/NodeHasMediaUse.php

@ -18,10 +18,10 @@ class NodeHasMediaUse extends FilterPluginBase {
* {@inheritdoc}
*/
protected function defineOptions() {
return [
'use_uri' => ['default' => NULL],
'negated' => ['default' => FALSE],
];
$options = parent::defineOptions();
$options['use_uri'] = ['default' => NULL];
$options['negated'] = ['default' => FALSE];
return $options;
}
/**

Loading…
Cancel
Save